ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

Posted jiangfeilong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)相关的知识,希望对你有一定的参考价值。

原因:mysql服务未启动

在此查看服务

技术图片

解决办法:

1.在任务管理器启动

2. cmd启动

net start mysql

 

以上是关于ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)的主要内容,如果未能解决你的问题,请参考以下文章

ERROR 2003 (HY000): Can't connect to MySQL server on 'ip'(111)

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

MySQL显示ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决方法

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061),mysql服务已启动(示例代码

错误 2003 (HY000): 无法连接到 MySQL 服务器 (111)