当前位置:网站首页>Problems during MySQL uninstallation

Problems during MySQL uninstallation

2022-06-23 14:09:00 slom_ fxt

We may need to uninstall for various reasons MySQL Or unload and reload , But if MySQL It's easy to have problems if you can't clean it up . This article talks about how to uninstall completely MySQL, take MySQL Clean up from our computers .

There are generally three steps :

Uninstall the software itself .
Remove residual files (*****).
Clean up the registry .
1. Uninstall the software itself
The first is to MySQL Uninstall the software itself , There are many ways to uninstall . It can be uninstalled through various software managers , It can also be unloaded through the control panel of the computer . This is an easy step , I won't repeat .

2. Clean up residual files .
Here we need to clean up two folders .
The first is :C:\Program Files (x86)\MySQL,( This is where you install mysql The path of )
The second is :C:\ProgramData\MySQL, there ProgramData It may be hidden , We need to set up view hidden files in Explorer .( This is where the database stores data by default data Catalog , If you specify a path to this directory, delete the specified path )
We're going to delete these two files completely , In case of occupation, we can restart the computer or use various tools to forcibly delete these two folders .

3. Clean up the registry
Often we finish the above two steps , On our computer mysql It has been completely deleted , At this time, there will be no problem with reinstallation and other operations , But if that's still a problem , We will try to clean up the registry information .

We turn on windows Operation of , Find it in the start menu or press windows+R.
Input regedit, Enter to open the registry editor .
Then find the following registries in turn and delete them in turn , Be patient here , Look for .

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl001\Services\MYSQL
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl002\Services\MYSQL
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSQL
 

原网站

版权声明
本文为[slom_ fxt]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202211726443133.html