From: http://www.heiqu.com/show-64764-1.html
Content:
During MySQL installation, the underlying encoding method was neglected and the default ASCII encoding format was used. As a result, the problem of Chinese conversion followed one after another. I wanted to uninstall MySQL and reinstall it, an error occurred while uninstalling the package. As a result, the package cannot be installed and cannot be installed after being found online for more than an hour.
Reinstalling the system is always a good solution, but who would like to do so :(
Later, I did not intend to find that the uninstallation was not completely caused by the uninstallation. The following describes how to unmount MySQL 5.1:
1. add and delete programs in the control panel.
2. Delete the my. ini file in the MySQL folder. If the file is backed up, delete all the folders directly.
3. Start-> Run-> Regedit. Check whether the registry has been deleted.
HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ Services \ Eventlog \ Application \ mysql directory Deletion
HKEY_LOCAL_MACHINE \ SYSTEM \ controlset002 \ Services \ Eventlog \ Application \ mysql directory Deletion
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ mysql directory deletion (I did not find the directory when I uninstalled it, and it was still completely uninstalled after I skipped it .)
4. This article is critical.
C: \ Documents ents and Settings \ All Users \ Application Data \ mysql
MySQL files must be deleted.
Note: The application data folder is hidden. To open a folder, choose menu bar tool> folder option> View> hide file and folder. All files and folders are displayed.
After completing the above four steps, restart OK! Install it again