Completely uninstall MySQL database in Windows system and reinstall mysql
- 2021-10-16 05:20:22
- OfStack
1. In Control Panel, uninstall all components of MySQL
Control Panel-"All Control Panel Items-" programs and functions, uninstall all MySQL related programs
2. Find your MysQL installation path, see if there are any folders related to MySQL, and delete them all
If installed on an C disk, check the C:\ Program Files (x86) and C:\ Program Files folders under 1
3. Delete the registry for MySQL
Enter "C:\ Windows\ regedit. exe" in File Explorer to bring 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
4. Paste the following scarlet letter into the File Explorer address bar (this is a hidden folder)
C:\ProgramData\MySQL
Delete everything under this folder
Step 5 Restart your computer
6. Tips:
If you can't delete the folder when you delete it above, you can try the following steps:
1. Check to see if MySQL is still running, go to the task manager, and end the task
2. Try whether 360 shredded documents can be shredded
3. Enter Safe Mode and delete
Be crowned with success
You can now reinstall MySQL.
Summarize