How to ignore users in MySQL _ MySQL-mysql tutorial

Source: Internet
Author: User
Solve the problem of ignoring users in MySQL. if the following error occurs, it means that 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:

4.

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

5.

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

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.