mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this st
Posted 锋齐叶落
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this st相关的知识,希望对你有一定的参考价值。
Mysql关系型数据库管理系统
mysql是一个开放源码的小型关联式数据库管理系统,开发者为瑞典MySQL AB公司。MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。
本文为大家讲解的是mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决方法,感兴趣的同学参考下。
错误描述:
mysql> grant all on cactidb.* to [email 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
解决方法:
先刷新一下权限表。
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> grant all on cactidb.* to [email protected]‘localhost‘ identified by ‘123‘;
Query OK, 0 rows affected (0.00 sec)
以上是关于mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this st的主要内容,如果未能解决你的问题,请参考以下文章
解决mysql启动时报The server quit without updating PID file 的错误(转)
Mysql错误check the manual that corresponds to your MySQL server version for the right syntax
mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this st
mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this st
启动mysql时报错误:Starting MySQL.The server quit without updating PID file (/var/lib/mysql/tserver.pid).[F