ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/mysql/tmp/mysql.sock' (2)

--------------------------------------------------------------------------------

此类问题如,mysql.sock'  确实存在,请给mysql用户在tmp文件夹的足够权限!

[root@localhost ~]# chown -R mysql:mysql /tmp/
数据库技术 | 评论(0) | 引用(0) | 阅读(4504)