The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
来源:互联网 发布:rgb转换 算法 编辑:程序博客网 时间:2024/05/01 00:32
skip-grant-tables下
GRANT ALL PRIVILEGES ON *.* TO helei IDENTIFIED BY 'MANAGER' WITH GRANT OPTION;
执行这句时候错误:
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
mysql> GRANT ALL PRIVILEGES ON *.* TO helei IDENTIFIED BY 'MANAGER' WITH GRANT OPTION;
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
这个时候我们只需要
flush privileges
一下,在添加用户就OK了,
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> GRANT ALL PRIVILEGES ON *.* TO helei IDENTIFIED BY 'MANAGER' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
这个时候我们成功搞定了,再登录就可以了。
如果报错如下信息:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我们只要到/etc/yum.repo.s下面把packetxxxx.repo和redhat.repo两个文件删除掉,再启动就可以了,
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- 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错误:`The MySQL server is running with the --skip-grant-tables option so it cannot execute this s
- 关于The MySQL server is running with the--skip-grant-tables option so it cannot execute thisstatement
- The MySQL server is running with the --read-only option so it cannot execute this statement
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
- 1209 - The MySQL server is running with the --read-only option so it cannot execute this statement
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- MYSQL导出数据出现The MySQL server is running with the --secure-file-priv option so it cannot execute this
- 问题:The MySQL server is running with the --skip-grant-tables option
- MySQL生产库全库备份脚本
- Oracle连接 类型初始值设定项引发异常 解决方法
- MySQL XtraBackup备份脚本
- MySQL XtraBackup自动恢复脚本
- zzuli 1893 985的数学难题
- The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
- lepus3.7 天兔监控安装手册 CentOS6.5+mysql5.6
- urban airship实现消息内容的推送
- 天兔(Lepus)监控系统快速安装部署
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- 天兔(Lepus)监控系统慢查询分析平台安装配置
- 天兔(Lepus)监控操作系统(OS)安装配置
- MySQL 替换部分电话号码为000
- Android性能优化之视图篇(渲染机制)