Open Navicat, click the host name/IP to localhost connection, and then error
2003-can ' t connect to MySQL server on ' localhost ' (10061)
1. Start → run →services.msc (service), MySQL not found
2. Reinstall MySQLInstanceConfig.exe NOT successful
650) this.width=650; "title=" 1.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/28/wKiom1SqUqCy0O5lAAJjXtLVRg8124.jpg " alt= "Wkiom1squqcy0o5laajjxtlvrg8124.jpg"/>
3. Locate the My.ini file
650) this.width=650; "title=" 2.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/28/wKiom1SqVo3x9DSMAAP-pcl_AhQ396.jpg " alt= "Wkiom1sqvo3x9dsmaap-pcl_ahq396.jpg"/>
Start → run →cmd, first enter the drive letter you want to install, and then enter the directory where the My.ini file is located, the red box My.ini path modified correctly after the run
650) this.width=650; "title=" 3.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/25/wKioL1SqV2ug0_AqAAETL5MOs8g820.jpg " alt= "Wkiol1sqv2ug0_aqaaetl5mos8g820.jpg"/>
Restart MySQL Service
650) this.width=650; "title=" 4.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/29/wKiom1SqV7iwPTwTAAA9sBXdUSI931.jpg " alt= "Wkiom1sqv7iwptwtaaa9sbxdusi931.jpg"/>
And then we can connect normally.
This article is from the "Thawliu" blog, make sure to keep this source http://thawliu.blog.51cto.com/9274422/1599387
Navicat 2003-can ' t connect to MySQL server on ' localhost ' (10061)