I am trying to run a simple node sample for access a mysql db and am getting the following error-Error: ER_ACCESS_DENIED_ERROR: Access denied for user \'root\'@\'ubuntu.loca
Actually the solution is easier than you think. Change the host to 127.0.0.1 for the database connection.