The following article mainly introduces a more convenient method to achieve failure of reinstalling the MySQL database. The following describes the final solution to the failure of reinstalling the MySQL database, I hope it will be of great help to you in your future studies.
I believe that you have had reinstallation experience when using MySQL. If you reinstall the MySQL database, 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. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL directory Deletion
4. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL directory Deletion
5. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL directory to delete ControlSet001 and ControlSet002 in the registry, not necessarily 001 and 002, which may be ControlSet005 or 006, all are deleted.
6. Delete the MySQL folder under C: \ Documents ents and Settings \ All Users \ Application Data \
7. Finally, uninstall MySQL.
8. Delete the folder in the MySQL installation path.
9. Restart your computer.
OK! ~~~~ (Currently, the above methods can be used to reload the MySQL database successfully when the MySQL version is MySQL 5.0. Other versions need to be verified)
Of course, after MySQL is uninstalled in Windows 7, it seems that there are no more than a few registry items, so it can be reinstalled normally in Windows 7)
The above content describes the ultimate solution to the failure of reinstalling the MySQL database, hoping to help you in this regard.