I have hostinger VPS server and there i uploaded the node.js code with all its necessary modules . But when i try to connect with databse using get api , It gives error “{ “success”: false, “message”: “ER_ACCESS_DENIED_ERROR: Access denied for user ‘root’@’my_vps_ip’ (using password: YES” ,But in localhost it is working perfectly and fetching data correctly..
Anyone can help please ?
{ “success”: false, “message”: “ER_ACCESS_DENIED_ERROR: Access denied for user ‘root’@’my_vps_ip’ (using password: YES”}
Muhammad TaQi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.