I have setup a MySQL database. When I try to access it through my Node JS server, I am getting the error
\"ER_NOT_SUPPORTED_AUTH_MODE: Client does no
var connection = mysql.createConnection({ host : 'localhost', user : 'root', password : '********', database : 'vod_bill_database', port : 3308 });
I had the same error and since i changed my port in phpmyadmin from 3306 to 3308 therefore here also i had to write port: 3308 and it started working.