Navicat 2003-can ' t connect to MySQL server on ' localhost ' (10061)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.