The Security Settings cocould not be applied to the database because the connection has failed with th

Source: Internet
Author: User

Is the last apply security setting.

Tip:

The Security Settings cocould not be applied to the database because the connection has 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 you have opened
Port please press [retry] To apply the security settings.

If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed
To connect to the server. In this case please select skip now and re-run the Configuration Wizard from the Start Menu.

Solution:

1. uninstall MySQL

2. Delete the directory c: \ Documents ents and Settings \ All Users \ Application Data \ mysql.

3. Just reinstall MySQL.

If you do not have the application data folder under c: \ Documents ents and Settings \ All users, choose tool> folder option> View> show all files and folders.

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.