Troubleshoot Windows installation MySQL 5.5, run MySQLInstanceConfig.exe no response method

Source: Internet
Author: User

I installed MySQL5.5 (Community Edition) on a Windows Server 2003 virtual machine. This virtual machine was previously installed by someone else MySQL5.5 and MySQL5.0, but forgot the root password, so reload. No unexpected problem encountered when configuring MySQL instance MySQLInstanceConfig.exe not responding. (I remember the previous encounter this problem, and decisively changed the MySQL5.0, bypassing but not resolved)

Tried a lot of methods, there is a need to run as administrator (it is said that the installation on the WIN7 is the problem, and I use Windows Server 2003, the original user is administrator), said to the installation directory and registry to remove the clean , but none of them succeeded.

Finally, view C:\Program files\mysql\mysql Server 5.5\my.ini to find

Basedir= "C:/Program files/mysql/mysql Server 5.5/"

Datadir= "C:/Documents and Settings/all users/application data/mysql/mysql Server 5.5/data/"


DataDir found that the directory is indeed not removed cleanly, so delete the entire directory c:/documents and Settings/all users/application data/mysql/, uninstall and reinstall, and finally succeed.

Conclusion:

1, MySQL5.5 in the installation of Windows on MySQL is indeed a MySQLInstanceConfig.exe not responding to the problem, MySQL5.0 will not.

2, the cause of this problem is indeed the last MySQL instance uninstall did not uninstall clean caused, but the most critical to clean up garbage is not the registry but MySQL DataDir.

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.