Can not connect to MySQL server
时间: 2023-10-20 10:27:19 浏览: 79
静态模式-error 2002 (hy000): can't connect to local mysql server through socket '/tmp/mysql.sock'
Can not connect to MySQL server错误通常表示无法连接到MySQL服务器。根据引用和引用,这个错误可能是由于MySQL服务没有启动所致。你可以尝试通过命令行或计算机管理来启动MySQL服务。根据引用中的描述,你可以在计算机上搜索并打开"计算机管理",然后查找MySQL服务并尝试重启它。这通常可以解决连接问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [phpcms v9出现Can not connect to MySQL server错误的原因和解决方法](https://download.csdn.net/download/weixin_38516386/12896461)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Can‘‘t connect to MySQL server on localhost (10061)解决方法](https://blog.csdn.net/jxnuzhouguohong/article/details/129024243)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [MySQL数据库:Can not connect to MySQL server 解决方法](https://blog.csdn.net/qq_41116319/article/details/125140051)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文