Access denied for user user@ ' localhost ' (using Password:no)

Source: Internet
Author: User

Accessdenied for user [email protected] ' localhost ' (using Password:no)

1. Error Description:

2. Locate the following file:

3, modify the permissions:

4. Copy Password Password:

5. Enter the following command:

6, the copy of the password to enter:

and change the password, I modified the password for Baozi:

7. You must enter this:

Effect

8, login, and enter the modified password:

9. Display all databases and create a database:


This is just one way, and there are other workarounds.

Access denied for user [email protected]' localhost ' (using Password:no)

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.