Can't connect to MySQL server on 'localhost:3306'
时间: 2023-08-28 09:16:59 浏览: 107
您遇到的问题是无法连接到MySQL服务器的错误。这个错误可能有多种原因,以下是一些可能的解决方法:
1. 确保MySQL服务器正在运行。您可以通过运行命令`mysqld --console`来启动MySQL服务器并查看控制台输出是否有任何错误信息。中提供的命令。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [登录mysql报错 Can‘t connect to MySQL server on ‘localhost:3306‘ (10061)解决方法](https://blog.csdn.net/tulipfxs/article/details/128171481)[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 style="max-width: 50%"]
- *2* *3* [Can‘t connect to MySQL server on ‘localhost:3306‘ (10061) 解决方法](https://blog.csdn.net/m0_57577044/article/details/128287584)[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 style="max-width: 50%"]
[ .reference_list ]
阅读全文