Mysql assembly error Can 'tconnecttomysqlserveron 'localhost' (10061

Source: Internet
Author: User
An error occurred while installing mysql: CantconnecttoMySQLserveronlocalhost (10061ERROR2003: CantconnecttoMySQLserveronlocalhost (10061). after installing CantconnecttoMySQLserveronlocalhost (), what should I do if the mysql service has started windows? ------ Solution -- mysql installation error Can't connect to MySQL server on 'localhost' (10061
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061) an ERROR occurred when installing
The mysql service has been started.
What should I do with the operating system win2003?

------ Solution --------------------
An error occurred while installing the last step? Then the mysql service is started? Have I installed mysql?
------ Solution --------------------
Your mysql service is not started.
------ Solution --------------------
As if I have encountered a similar problem before, can you use root to log on to your database under cmd?
------ Solution --------------------
Stop MySQL service in "service"
Detach mysql from the control panel
Delete the mysql installation directory

Run the mysql installer again.
------ Solution --------------------
If "ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)" appears, your MySQL has not been started.

Solution:

Step 1
Delete my. ini under c: \ windowns

Step 2
Open c: \ mysql \ bin \ winmysqladmin.exe and enter the user name and password.

Step 3: input mysqld-nt-remove in dos to delete the service
Enter mysqld-nt-install

Step 4: enter mysql startup successful
------ Solution --------------------
As stated in #5, when you reinstall mysql, you must repeat everything that was previously related to mysql (services, processes, registries ......) All are stopped, detached, restarted, and installed separately. Otherwise, an error is always reported during mysql security configuration.
You can also choose "manage"> "service" to find the corresponding mysql and enable it each time you enable mysql.
------ Solution --------------------
The fifth floor and the seventh floor are correct. this is because mysql was previously installed... lz.

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.