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.