Install MySQL The last step of the "Apply security Setting" error appears as follows:
The security settings could not being applied to the database because the connection have failed with the following error.
Error Nr. 1045
Access denied for user ' root ' @ ' localhost ' (using Password:yes)
If A personal firewall is running on your machine, please make sure you have opened the TCP Port 3306 for connections. Otherwise no client application can connect to the server. After your opened the port please press [Retry] to apply the security settings.
If you were re-installing after just uninstalled the MySQL server please note that the data directory is not removed a Utomatically. Therefore the old password from your last installation was still needed to connect to the server. In this case, select Skip now and re-run the Configuration Wizard from the Start menu.
Workaround:
1: Uninstall MySQL.
2: Delete the MySQL installation directory (my is C:\Program Files), delete the entire MySQL folder.
3: Reinstall MySQL.
Note: (I did not investigate the specific reasons)
If you have previously installed MySQL and created a database, you can ignore this error, in fact, the MySQL installation is successful, open navicat (I use the navicat managed MySQL database), you can see the link and database created before.
This article is from the "Javaruler" blog, make sure to keep this source http://tengjs.blog.51cto.com/5641106/1565694
Win 7 MySQL installation error (the security settings could not being applied to the database (Error 1045 MySQL)