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