rapo369
rapo369

Reputation: 1

Couldnot start the mysql Deamon : mysql.sock is missing

service mysqld start 

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

Can any one help me out on this error?

Upvotes: 0

Views: 568

Answers (1)

ali haider
ali haider

Reputation: 20202

check the my.cnf file (for MySQL - either /etc/my.cnf or /etc/mysql/my.cnf) - comment out the basedir flag with hashtags (#basedir=/var/lib) and restart the server.

Upvotes: 0

Related Questions