The Security Settings cocould not be applied... The reason is that the original items are not uninstalled clean.

Source: Internet
Author: User

When installing MySQL, you will encounter the following errors. It is not terrible to encounter an error. What you are afraid of is being knocked down by the error!
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 the 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 on the control panel
2. Delete the directory c: \ Documents ents and Settings \ All.
Users \ Application Data \ mysql
3. Only the last install is permanently deleted.
Information before installation. To be sure to search for other MySQL contents, you may have installed MySQL elsewhere.
3. reinstall MySQL.
Okay.
How do you have no application under c: \ Documents ents and Settings \ All users?
Data folder, select tool-Folder option-View-select to display all files and folders.
Solve the problem!

 

I have encountered this problem 20 times.
The reason is: You have not fully uninstalled MySQL, have you installed other MySQL versions? If yes, You Need To uninstall it. Before uninstalling it, you must stop the MySQL service in the system process, restart it, and install a new version.
Currently, we provide you with some solutions for your reference. Open the system service process: Right-click my computer-Manage-services and applicationsProgram-Service: Find MySQL, including the old version and new version, right-click and stop all
2. Uninstall mysql3. Restart and manually delete all old installation folders, especially WINDOWS \ My. ini.
Or delete all MySQL folders! If you want to keep the database, it is best to back up 4 first. Check whether there is MySql in the service process. If yes, right-click "properties"> "Start type"> "Disable ".
5. To install a new version, you are advised to change the installation path. When the drop-down box for selecting to start the win service appears, the 41 option should be successfully selected.

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.