Completely uninstall MySQL database in Windows system and realize reloading

[plain]  view plain copy  
  1. Author Blog  
  2. http://blog.csdn.net/y694721975/  

This article is aimed at examples of MySQL installations that fail regardless of the version.
  Before uninstalling MySQL and then installing it through msi, it always prompted failure at the step of starting server. The subsequent connection test also failed to connect, because the MySQL server was uninstalled successfully without configuration, and reinstallation is still not easy. That's it, I tried Many methods have not been successful.

  Finally released the ultimate trick ------ " After completely removing MySQL from the system , reinstall it"


1. In the control panel, uninstall all components of MySQL

Control Panel -> All Control Panel Items -> Programs and Features, uninstall all MySQL-related programs


2. Find your MySQL installation path, see if there are any folders related to MySQL, delete them all

If installing on C drive, check the C:\Program Files (x86) and C:\Program Files folders


3. Delete the registry about MySQL

Entering " C:\Windows\regedit.exe " in the file explorer will pop up the registry

Delete the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder

If you can find the following, delete it

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL


Fourth, paste the following red text into the file explorer address bar (this is a hidden folder)

C:\ProgramData\MySQL

delete everything under this folder


5. Restart the computer


6. Tips:

If you can't delete the folder above, you can try the following steps:

1. Check if there are programs related to MySQL running, go to the task manager to find them, and then end the task

2. Try 360 shredded files to see if they can be shredded

3. Enter safe mode and delete

you're done

MySQL can now be reinstalled

[plain]  view plain copy  
  1. Author Blog  
  2. http://blog.csdn.net/y694721975/  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324552481&siteId=291194637