Thoroughly uninstall MySQL 1. Delete the programs added to the control panel. 2. delete my files in the MySQL folder. INI file. If the backup is good, you can directly delete all the folders. 3. Start-> Run-> regedit. Check the Registry to delete the files without the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL directory. Delete the HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL directory Delete www.2cto.com HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL directory Delete (I did not find the directory when I uninstalled it, .) 4. This is critical. C: \ ProgramData \ MySQL contains MySQL files. You must delete these files. Note: The Application Data folder is hidden, you need to open a folder, select menu bar tool → Folder Options → view → hide files and folders. Select all files and folders. OK! Install it again