ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mysql 启动不了
启动mysql 报错:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)1、先查看 /etc/rc.d/init.d/mysqld status 看看m y s q l 是否已经启动.
另外看看是不是权限问题.2、确定你的mysql.sock
转载
2016-05-13 14:21:15 ·
292 阅读 ·
0 评论