Assembling MySQL error can ' t connect to MySQL server on ' localhost ' (10061

Source: Internet
Author: User
Install MySQL error can ' t connect to MySQL server on ' localhost ' (10061
Error 2003:can ' t connect to MySQL server on ' localhost ' (10061) installation to the last step errors occurred
The MySQL service has been started.
Operating system Win2003 What should I do?

------Solution--------------------
Error installing to last step? Then the MySQL service has started? Have you already installed MySQL?
------Solution--------------------
Your MySQL service didn't start.
------Solution--------------------
As if I had touched a similar problem before, can you log in to your database with root under cmd?
------Solution--------------------
Stop MySQL service in "services"
Uninstalling MySQL in the Control Panel
Remove MySQL installation directory

Re-run the MySQL Setup program
------Solution--------------------
If "Error 2003:can ' t connect to MySQL server on ' localhost ' (10061)" appears, your MySQL has not started yet.

Workaround:

The first step
Remove the My.ini below c:\windowns

Step Two
Open C:\mysql\bin\winmysqladmin.exe Enter user name and password

Step three Enter Mysqld-nt-remove Delete service under DOS
In the next input Mysqld-nt-install

Fourth step input MySQL boot success
------Solution--------------------
As mentioned in # #, when you repeatedly install MySQL, you must have everything related to MySQL (service, process, registry ...). Stop, remove, restart the computer, and install it separately. Otherwise, when the MySQL security configuration, always error.
Or, each time you turn on MySQL, in the "manage-like service", find the appropriate MySQL, open.
------Solution--------------------
5 Floor, 7 floor That's right, this is the previous installation of MySQL ... LZ operate under their method
  • 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.