MySQL database installation MySQL Apply Security settings unsuccessful

Source: Internet
Author: User

mysql database installation mysql Apply Security Settings is not a success, it is a headache for us. Think about it, in fact, it is not so difficult to imagine, the cause of the failure is just some of the permissions or some of the services are not open, know that, we can solve it is much easier. This article introduces this solution, so let's take a look at the solution.

The solution is as follows:

Open a command prompt (Administrator rights: Start-Programs-Attachments-command prompt-right-run as administrator).

Execute net stop MySQL if you have started MySQL, turn it off, and then switch to the MySQL bin directory.

Execute the SC delete MySQL to delete the existing service, perform the Mysqld--install manual installation service, and then execute the net start MySQL service.

If the service starts successfully, executing mysql-u root-p prompts you to enter your password, enter your password, and then connect to the database.

Execute update mysql.user SET password=password (' New password ') WHERE user= ' root '; FLUSH privileges; change root password.

OK, everything is done.

To this, has been able to successfully install MySQL Apply Security settings, this article introduced here, hope to bring you some harvest!

MySQL database installation MySQL Apply Security settings unsuccessful

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.