집 >데이터 베이스 >MySQL 튜토리얼 >mysql ERROR 2002 (HY000): Can't connect to local_MySQL
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