The windows completely uninstall mysql

1 "Stop MySQL service
start -" All Applications - "Windows management tools -" service, the MySQL service is stopped.
2 "uninstall mysql server
Control Panel \ All Control Panel Items \ Programs and Features, uninstall the mysql server.
3 "The MySQL MySQL installation directory under the file folder deletion (I install directory is C: \ Program Files (x86) \ MySQL)
4" run "regedit" file, open the registry.
Delete HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL folder
to delete HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL folder.
Delete HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL folder.
If there is no appropriate folder, you do not delete.
C "to delete the C drive under" 5: \ ProgramData \ MySQL "folder, if not delete it with a smash out to 360,
the programData file is hidden by default, set the display after the visible, or directly copy the C: \ ProgramData enter into the address bar to enter!
The entire MySQL folder deleted. . .
6 "Start -" all applications - "Windows management tools -" service
if MySQL has been uninstalled, but through the "start -" All Applications - "Windows Administration Tools -" Services "to see the service still remains in MySQL
System services. I do not want to change the service name, change how to do it.
Just enter a command in CMD where you can delete the services:
sc the Delete MySQL MySQL // here is that you want to delete the name of the service
As a service has been deleted.

7 Restart the computer

Guess you like

Origin www.cnblogs.com/diruodaichang/p/10987772.html