关于CentOS输入mysql提示ERROR 2002 (HY000):Can't connect to_MySQL
程序员文章站
2022-06-17 22:08:08
...
CentOS
bitsCN.com
关于CentOS输入mysql提示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 ] 证明启动成功了!
现在可以访问mysql了:
bitsCN.com
关于CentOS输入mysql提示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 ] 证明启动成功了!
现在可以访问mysql了:
bitsCN.com
推荐阅读
-
MySQL错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket 的解决办法
-
linux安装MySQL后输入mysql显示 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
-
远程连接centos7 上的mysql报(ERROR 2003 (HY000): Can't connect to MySQL server on '168.x.x.x' (10060) )
-
关于CentOS输入mysql提示ERROR 2002 (HY000):Can't connect to_MySQL
-
ERROR 2002 (HY000): Can't connect to local MySQL server thro
-
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mys
-
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mys
-
MySQL错误ERROR 2002 (HY000): Can't connect to local MySQL se
-
[MySQL] ERROR 2002(HY000): Can't connect to local My
-
ERROR 2002 (HY000): Can't connect to local MySQL server thr_MySQL