Sometimes MySQL can not completely uninstall, this time must be removed by some means of the registry and some residual files, and then can be re-installed to succeed!
1. Control Panel--"All Control Panel items--" program and function, uninstall MySQL server!
2. Then delete the My.ini file and all files in the folder under the MySQL installation directory
3. Open the Registration form
4. Delete the Hkey_local_machine\system\controlset001\services\eventlog\application\mysql folder
5. Delete the Hkey_local_machine\system\controlset002\services\eventlog\application\mysql folder. The Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql folder. Low-end address. If there's no need to delete
6. Delete the "C:\ProgramData\MySQL" under the C drive, so the file, 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 enter! Restart the computer after deletion, re-install the MySQL database should be successful.
How to completely uninstall MySQL database