Can't connect to MySQL server on localhost (10061) on window 7

一世执手 提交于 2019-12-01 17:42:54

Change

 host: localhost

to

 host: 127.0.0.1

This is likely caused by the way your database is being resolved.

have you checked whether the port 3036 is already in use by another application? Have you checked whether a telnet hostname 3036 works on the local MySQL server and also on the remote machine?

First check in the system, MySQL services is in running condition or not. look out on path of services go to right click on My Computer > manage > Services and Application > Services and check MySQL service status is started or not. Otherwise right click on service and start to service.

I hope this will help you.

C R Naik

I didn't find the MySQL services even after solving the problem.
I just run the mysqld as administrator and the problem is solved. So, simple but It took me 3 hours to find the solution.

The problem was rsolved. The MySQL was not running in the Services section of Settings. Because XAMMP had disconnected the already running application in the background.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!