mysql ERROR 2002 (HY000): Can't connect to local_MySQL
WBOY原創
2016-05-31 08:47:511370瀏覽
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 原因是,/var/lib/mysql 的访问权限问题。 使用命令:chown -R mysql:mysql /var/lib/mysql