Turn "Finally know why my MySQL is always uninstalled dirty and always can't find the My.ini file

Source: Internet
Author: User
Tags mysql in

Thank you, Bo Master:

Http://blog.sina.com.cn/s/blog_6fc5bfa90100qmr9.html

If you have MySQL installed on your computer and you want to reinstall MySQL, you may get an error because the previous version was uninstalled completely. The most common is that when the final step of the setup parameter is verified, the third start service error in the Execute configurattion step is error, could not start the service MySQL, Or the fourth apply security setting error.

Ways to completely uninstall MySQL:
1 . First, stop the MySQL service in the service (start-up---control panel--and manage tools--services). Open Control Panel-Add Remove Programs, find MySQL, uninstall.

2, the installation of MySQL uninstall, but this is only half of the uninstall MySQL, there is an important other half is to clean up the registry.

3. Start-run the inside input Regedt, open the registration form,

Find the item about MySQL to remove them all, to find an item for an item to remove them all, so that it will be available at the time of installation. In fact, the registry MySQL entries are these three items:
Hkey_local_machine/system/controlset001/services/eventlog/application/mysql

Hkey_local_machine/system/controlset002/services/eventlog/application/mysql
Hkey_local_machine/system/currentcontrolset/services/eventlog/application/mysql

This way, after removing the above three items, MySQL basically unloaded completely. If you are not at ease, you can find MySQL in the C drive and delete the related items.

 4, It is possible that you can not find the third of the registry, this is my case, I search in the registration table MySQL, all about the MySQL moved to delete, but still no. In the installation of the time I think of a message is that the MySQL information exists in a folder called C:\ProgramData\ (my is the Win7 system), but did not find this folder, so suspect it hidden, through the settings, let the hidden folder visible, I find to hit this file, Open sure enough that there is a MySQL folder, so remove him, in the installation, succeeded!

  

Turn "Finally know why my MySQL is always uninstalled dirty and always can't find the My.ini file

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.