Reinstall Mysql

I forgot my password and reinstalled Mysql, but I couldn't. The reasons are as follows:

 

A. Uninstallation did not clean up, especially the registry information


1: Type regedit in "Run" to enter the registry.
2: HEKY_LOCAL_MACHINE\SOFTWARE\MYSQL directory deletion
3: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL directory deletion
4: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL directory deletion
5: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet The \Services\Eventlog\Application\MySQL directory deletes
ControlSet001 and ControlSet002 in the registry, not necessarily 001 and 002, but may be ControlSet005, 006 and the like. When deleting, delete them all.
6: Delete C:\Documents and Settings MySQL folder
7 under \All Users\Application Data\: Finally, 360 Software Manager uninstalls MySQL.
8: Delete the folder under the MySQL installation path.
9: It is best to restart the computer.

BOpen the my.ini file, find the line default-storage-engine=InnoDB, and change it to default-storage-engine=MyISAM

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326204829&siteId=291194637