A perfect solution for failed last-step MySQL reinstallation (Experience summary)

Source: Internet
Author: User

I believe that you have had reinstallation experience when using MySQL. If you reinstall MySQL, it is basically the last step. Unless you reinstall the operating system, the reason is that the registry in the system is not deleted. The following is a summary of my experience, which is a blood lesson:

1. type regedit in "run" to enter the registry.

2. Delete the HEKY_LOCAL_MACHINE \ SOFTWARE \ MYSQL directory.

3. Delete the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL directory.

4. Delete the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL directory.

5. In the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL directory, delete ControlSet001, ControlSet002, not necessarily 001 and 002, which may be ControlSet005 or 006, you can delete all the files you want to delete.

6. Delete the MySQL folder under C: \ Documents ents and Settings \ All Users \ Application Data \.

7. uninstall MySQL.

8. Delete the folder in the MySQL installation path.

9. Restart your computer.

OK! (Note: The above method can be successfully reinstalled when MySQL 5.0 is used. You need to verify it in other versions)

(Of course, after MySQL is uninstalled in Windows 7, it does not seem to have the above registry items, so it can be reinstalled normally in Windows 7)

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.