1 first one-to-one uninstallation of the name in the control Panel is related to MySQL.
2 then find the MySQL installation directory to delete all the MySQL folder, even if the empty folder is deleted.
3 Open C:\ProgramData, find the MySQL folder and delete it (critical step), C:\ProgramData This directory is hidden by default, cannot see directly this directory, can
Copy C:\ProgramData directly in the search box in the C drive to find the MySQL folder and delete it.
4
In the registry (REGEDIT) query MySQL, delete all;
Cmd-and Regedit
1.hkey_local_machine\system\controlset001\services\eventlog\application\mysql Directory
2.hkey_local_machine\system\controlset002\services\eventlog\application\mysql directory ()
3.hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql Directory
5 Restart your computer when you are finished deleting it
6 Re-install once
(If the last installation of something removed is not clean, it is possible that the installation failed, please carefully check whether it has been removed before installing again)
MySQL Second installation failed workaround