Because the database was accidentally installed to the C drive, feel not very good so want to go to other disks, so refer to the general steps on the Internet to unload the database, but after the end of the discovery or not to go up, after a period of time to find out the reason, is nothing but the registry has not been deleted, the approximate steps are actually the same , the general flow of the Internet is listed as follows:
1, first deactivate the database, and then in the Control Panel in the Add Delete program to delete
2, delete the My.ini file under the MySQL folder, if the backup is good, you can delete the folder all directly (I did not experience this step, but will stay in the C disk in the various MySQL folder to a large cleaning)
3, start-to-run, regedit look at the registration table these places delete No
Hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory Removal
Hkey_local_machine\system\controlset002\services\eventlog\application\mysql Directory Removal
Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory Delete (I did not find the uninstall time, slightly later still achieve the purpose of full uninstall.) )
4, this article is very important
C:\ProgramData\MySQL
There are also MySQL files that have to be removed
Note: Application Data This folder is hidden, need to open a folder to select menu bar tools → folder Options → view → hidden files and folders an option to show all files and folders ok
Notice here that the MySQL registry information in Win8 is not actually in those paths above (at least not in my case), the true path is as follows:
Hkey_current_user\software\mysql
Hkey_users\s-1-5-21-3996557675-3225837166-3648912617-1001\software\mysql
Remove the registration information and reinstall it.