Ultimately, the following solutions are provided:
1. Clear the installation directory of MYSQL. The default value is C: \ Program Files.
2. Clear the MYSQL Data storage directory, which is generally in the C: \ Documents and Settings \ All Users. windows \ Application Data Directory.
(Note that the Application Data folder is hidden by default. You can choose tools> Folder Options> View> show all
File and folder to hide the file visibility ).
Delete a MySQL folder
3. This step is very important. No matter how I unmount MYSQL to clear the residual files, I still need to enter the original password. Then I tried to find the registry and it was valid after clearing it.
Delete registry data and use regedit to delete the following files:
Reference
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL
Finally, everything is OK !!!...