# Recommended: "The solution to the problem that mysql cannot be installed after being uninstalled: first delete it in the Add and Remove Programs in the control panel; then check the registry and delete mysql; then delete the my.ini file in the MySQL folder; Finally install it again.
mysql video tutorial》
Mysql database cannot be reinstalled after uninstallationIf MySQL has been installed on the computer before, if it is not completely deleted after uninstallation, there will be problems with the next installation. The complete list is given below How to uninstall MySQL 5.5: 1. Delete it in the Add and Remove Programs in the control panel2. Delete the my.ini file in the MySQL folder (under the installation folder ), if the backup is good, you can directly delete all the folders3. Start->Run-> regedit and see if these places in the registry have been deletedHKEY_LOCAL_MACHINE\SYSTEM \ControlSet001\Services\Eventlog\Application\MySQL Directory deletionHKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL Directory deletionHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application \MySQL directory deletion (I didn’t find it when I uninstalled it. After skipping it, I still achieved the purpose of complete uninstallation.) 4. This item is very critical. C:\Documents and Settings\All Users\Application Data\MySQLThere are also MySQL files here, which must be deletedNote: The Application Data folder is hidden, you need to open the folder and select Tools → File from the menu bar Folder Options → View → Hide files and folders, select Show all files and folders and confirm You can also use Computer Manager to uninstall, and then manually delete the MySQL files that have not been uninstalled The following picture You can delete the remaining files in the registry after the software is uninstalled
Restart OK! Install it again
The above is the detailed content of What should I do if mysql cannot be installed again after uninstalling it?. For more information, please follow other related articles on the PHP Chinese website!