ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘ (2)
My.cnf添加
[client]
socket = /tmp/mysql.sock(tmp该为实际路径)
ERROR 2002 (HY000) Can't connect to local MySQL server through socket 'varlibmysqlmysql.sock' (2)
时间: 2024-10-17 13:52:52