Ignore users in MySQL

Source: Internet
Author: User

MySQL databaseDuring OperationIgnore userThe problem will cause a lot of inconvenience to the MySQL database and affect the work of the MySQL database. In the following article, I will introduce you to solve the problem of ignoring users and hope to help you.

If the following error occurs, an account with an invalid password is found in the User table when mysqld is started or the authorization table is reloaded.

User 'some _ user' @ 'some _ host' Password error found: Ignore user.

As a result, the license system simply ignores the account.

The following describes possible causes and corrective measures:

1. Maybe you are planning to use the old User table to run the new version of mysqld. Run mysqlshow mysql user to check whether the Password column is less than 16 characters. This method can be used to check the problem. If the result is correct, run the script/add_long_password to correct the problem.

2. The account has an old password (8 characters long) and does not use the "-- old-protocol" option to start mysqld. Update the account in the User table to have a new password, or use the "-- old-protocol" option to restart mysqld.

3. The PASSWORD is not specified using the PASSWORD () function in the User table. To use mysql to update an account in the User table with a new PASSWORD, use the PASSWORD () function:

Reference content is as follows:
4.

Mysql> update user SET Password = PASSWORD ('newpwd ')

5.

-> Where User = 'some _ user' AND Host = 'some _ host ';

The solution described above is not absolutely authoritative. If anything is inappropriate, I hope you will forgive me.

Related Article

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.