Completely uninstall MySQL's method sharing

  • 2020-05-10 23:02:52
  • OfStack

It's always a good idea to reinstall the system, but who likes it :(

Later, I accidentally found that it was not completely caused by the uninstall. The following is the complete uninstall method of MySQL 5.1:

1, the control panel to add delete procedures for deletion

2. Delete my.ini files in the MySQL folder. If you have a good backup, you can delete all the files in the MySQL folder

3. Start > Run - > regedit see if these places in the registry have been deleted

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL

HKEY_LOCAL_MACHINE\SYSTEM\ Services\ Application\MySQL

4. This one is crucial

C:\Documents and Settings\All Users\Application Data\MySQL

There is also the file MySQL, which must be deleted

Note: the Application Data folder is hidden. You need to open a folder and select the menu bar tool → folder options → view → hide files and folders. Select 1 item to show all files and folders

Complete the above 4 steps, restart OK! Let's install it again

Related articles: