I believe many friends in the process of using MySQL will encounter this problem, the installation process error, or want to change version, or do not want to use, this time we need to completely uninstall MySQL? Next, let's talk about my experience.
1, Control Panel-"All Control Panel item--" program and function, uninstall MySQL server!
Or you can uninstall MySQL in the 360 software steward.
2. Then delete the My.ini file and all files under the MySQL folder.
3, run the "regedit" file, open the registry, delete the Hkey_local_machine\system\controlset001\services\eventlog\application\mysql folder, Hkey_local_machine\system\controlset002\services\eventlog\application\mysql folder.
4, delete the "C:\ProgramData\MySQL" under the C disk all files, if not deleted with 360 smash can be, the ProgramData file is hidden by default, the settings are visible after the display, or directly copy the upper address to the Address bar to enter! Restart the computer after deletion, re-install the MySQL database should be successful.
Show Programdata:
Delete all the "C:\ProgramData\MySQL" files under the C drive:
Finally, I hope to help everyone!
When uninstalling MySQL, how to uninstall clean!