ERROR 2002 (HY000): Can't connect to local MySQL server

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


这是没启动mysql的守护进程,执行 service mysqld start就行了.

你可能感兴趣的:(ERROR 2002 (HY000): Can't connect to local MySQL server)