How to uninstall MySQL cleanly - (detailed steps)

1. Uninstall the installation residue in the program

2. Delete the directory

Find the MySQL folder under the installation path and delete it (if it is installed on the C drive by default, it will be in Program Files, if it is modified on another disk, find the installation path set at that time)

In the view column of the C disk, check "Hidden items" to find the ProgramData folder, click to open, and delete the MySQL folder.

3. Delete the registry

Press win+R key to enter regedit to run, enter the registry editor, press the path in the figure, find MySQL, and then delete the MySQL registry information. (If MySQL is not found in this path, the registry information has been cleared, and this step can be skipped)

4. Delete the MYSQL service

The administrator enters cmd,

C:\Windows\system32>sc delete MySQL

[SC] DeleteService succeeded

Guess you like

Origin blog.csdn.net/weixin_54514751/article/details/128724689