Method tutorial for completely deleting and uninstalling MySQL under Windows 10 system
- 2021-08-31 09:30:52
- OfStack
Preface
This article is about the Windows10 system, how to completely delete the uninstall MySQL method tutorial, share it for your reference and study, let's take a look at the detailed introduction.
The method is as follows:
1 "Stop mysql service
Start the-"All Applications-" Windows Management Tools-"service and stop the MySQL service.
2 "Uninstall mysql server
Control Panel\ All Control Panel Items\ Programs and Features, Uninstall mysql server.
3 "Remove the MySQL folder under the MySQL installation directory (my installation directory is C:\ Program Files (x86)\ MySQL)
4 "Run the" regedit "file and open the registry.
If there is no corresponding folder, there is no need to delete it.
5 "Delete the" C:\ ProgramData\ MySQL "folder under the C disk, and shred it with 360 if it cannot be deleted.
The programData file is hidden by default, which can be seen after the settings are displayed, or copy C directly:\ ProgramData to the address bar and enter!
Delete the entire MySQL folder. . .
6 "Start-" All Applications-"Windows Management Tools-" Services
If you have uninstalled MySQL, but see through "Start-" All Applications-"Windows Administration Tools-" Services "that the MySQL service remains in the system service. I don't want to change my service name. What should I do if I change it?
You can delete the service by entering one command in CMD:
sc delete mysql // Here's mysql Is the name of the service you want to delete
In this way, the service will be deleted.
Then, you can reinstall the MySQL database! ! !
Summarize