mysql常见的错误ERROR 2002
mysql
1=====================================================================
ERROR 2002 (HY000):Can't connect to local MySQL
关于CentOS输入mysql提示:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
原因可能是mysql服务没有启动,输入命令:
# service mysqld start显示: Starting mysqld: [ OK ] 证明启动成功了!
声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com