MySQL error: The MySQL server is running with the--skip-grant-tables option so it cannot execute this statement workaround

Source: Internet
Author: User

MySQL relational database management system

MySQL is an open source small relational database management system, the developer of the Swedish MySQL AB company. MySQL is widely used in small and medium-sized websites on the internet. Because of its small size, fast speed, low total cost of ownership, especially the open source, many small and medium-sized web sites in order to reduce the total cost of ownership of the site chose MySQL as the site database.

This article is about MySQL error: the MySQL server is running with the--skip-grant-tables option so it cannot execute this statement workaround, sense Interest of the classmate under reference.

Error Description:

Mysql> Grant all on cactidb.* to [e-mail protected] ' localhost ' identified by ' 123 ';

ERROR 1290 (HY000): The MySQL server is running with the--skip-grant-tables option so it cannot execute this statement

Workaround:

Refresh the Permissions table first.

mysql> flush Privileges;

Query OK, 0 rows affected (0.01 sec)

Mysql> Grant all on cactidb.* to [e-mail protected] ' localhost ' identified by ' 123 ';

Query OK, 0 rows Affected (0.00 sec)

MySQL error: The MySQL server is running with the--skip-grant-tables option so it cannot execute this statement workaround

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.