Win 7 MySQL Installation error (the security settings could not being applied to the database (Error 1045 MySQL)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.