mysql安装配置教程ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (10061)
时间: 2023-08-25 18:13:34 浏览: 106
MySQL安装配置时出现ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (10061)的报错,可能是由于配置文件中端口号设置错误所致。 您可以按照以下两种方法解决这个问题:
方法一:将配置文件my.ini中的端口号改回默认的3306。这样在登录MySQL时,客户进程和服务进程使用的端口号就一致了,通信就能成功。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* *3* [解决MySQL报错ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost:3306‘ (10061)](https://blog.csdn.net/wangpaiblog/article/details/121667877)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文