错误
解决
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