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

后端 未结 26 2215
Happy的楠姐
Happy的楠姐 2020-12-23 02:37

I installed MySQL on Microsoft Windows 8 Using a noinstall Zip Archive. But when i tested by executing the following commands on windows prompt, the above error showed up.<

26条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 03:04

    Though it is an old question, I am adding my answer in it, because the solution that worked for me on Windows 7 as an admin user, is missing in the answers' list. Though my solution is for installed MySQL, I am putting it for those who search for a solution for this error message. Here it is:

    1. Click on the Windows 7 start button and type taskmgr in the search bar
    2. Right click on the taskmgr program icon and select Run as administrator
    3. In the Task Manager window, go to the Services tab
    4. Right click on the MySQL service and click Start Service

提交回复
热议问题