How to solve the mysql reinstall failure method

  • 2020-05-14 05:06:56
  • OfStack

I believe that everyone has had the experience of reinstalling MySQL. If you reinstall MySQL, you will fail in the last step. Unless you reinstall the operating system, the reason is that the registry in the system is not deleted clean. Here is my summary of 1 points of experience, all of which are blood lessons:

1. Enter regedit in run to enter the registry.
2. HEKY_LOCAL_MACHINE/SOFTWARE/MYSQL directory deleted
3. HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001 / Services/Eventlog/Application/delete MySQL directory
4. HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002 / Services/Eventlog/Application/delete MySQL directory
5. HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application/MySQL directory to delete the registry
ControlSet001,ControlSet002, not 1 must be 001 and 002, may be ControlSet005, 006 and so on, when deleted, deleted can be
6. Delete the MySQL folder under C:/Documents and Settings/All Users/Application Data/
7. Finally uninstall MySQL.
8. Delete the folder under the MySQL installation path.
9. Better reboot your computer.

OK! Now ~~~~(the above method can be reinstalled successfully if MySQL version is MySQL 5.0, other versions need to be verified by everyone)

Related articles: