Issues after workspace restart



After restarting workspace, my phpmyadmin username and password does not work. And the nodejs app that I am connecting to mysql, throwing errors. Please help me on this issue.

This is the error;

{ Error: connect ECONNREFUSED
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)


Is MySQL definitely running on your workspace? What does ps aux | grep mysql show?

Also, is port 3306 on (localhost) being listened to? What does sudo netstat -tulpn | grep 3306 show?