`

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

 
阅读更多
错误
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

解决
vi /etc/my.cnf

[client] 
socket=/usr/local/mysql/mysql.sock
#socket=/var/lib/mysql/mysql.sock
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics