Error while after giving mysql password on linux mint

Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).

I went to the stackoverflow and read the issue but unable to understand what it is being said.
Any one please explain me how to fix it in easy steps .Before this error i had been able to use Mysql database comfortably.


Have you tried

mysql -h -P 3306 -u root -p <database>

Also (to see if it's running):
telnet 3306


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.