发布于 2014-12-08 08:41:39 | 19491 次阅读 | 评论: 2 | 来源: PHPERZ

这里有新鲜出炉的Mysql教程,程序狗速度看过来!

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 dbuser@'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 dbuser@'localhost' identified by '123';

Query OK, 0 rows affected (0.00 sec)



最新网友评论  共有(2)条评论 发布评论 返回顶部
PHPERZ网友 发布于2018-03-22 01:26:30
有你妈叼用
支持(2)  反对(1)  回复
dqpapl 发布于2015-10-27 10:33:19
没效果啊
支持(0)  反对(0)  回复

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务