Home >
Article > Database > mysql ERROR 2002 (HY000): Can't connect to local_MySQL
mysql ERROR 2002 (HY000): Can't connect to local_MySQL
WBOYOriginal
2016-05-31 08:47:511334browse
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
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn