ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

by rajesh 2012-06-14 09:29:42

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Fix: The mysql server might have not yet been started, try to start it and then connect to the mysql


In linux, you can use the command:
/etc/init.d/mysql start
to start mysql

Tagged in:

920
like
0
dislike
0
mail
flag

You must LOGIN to add comments