The following error occurred in the last step of the MySQL installation:
And this is the problem that occurs when the firewall is turned off.
The reason is: the previously installed MySQL is not uninstalled cleanly.
To uninstall the MySQL step:
1. First turn off the MySQL service and then locate MySQL in the Control Panel and uninstall it.
2. Delete all files under the installation folder.
3. Open the Registration form:
Delete Hkey_local_machine\system\controlset001\services\eventlog\application\mysql folder
Delete the Hkey_local_machine\system\controlset002\services\eventlog\application\mysql folder. The Hkey_local_machine\system\currentcontrolset\services\eventlog\application\mysql folder. If there is no need to delete it.
4, remove the "C:\ProgramData\MySQL" under the C-drive note that this folder must be deleted: (it contains all the data from the last installed database and the user name and password)
However, this folder is hidden by default, so you need to:
(1)
Click Options:
(2) The hidden file is displayed, you can see the "C:\ProgramData\MySQL" folder.
5, completely uninstalled after re-installation on the can.
MySQL Installation error nr.1045