MySQL关于ERROR 1290 (HY000)报错解决方法
作者:BonnieJason 时间:2024-01-21 19:50:23
一个问题纠结很久,反复确认语法问题。但是后来网上搜了一下,茅塞顿开。特此总结一下。
mysql> grant select,insert,update,delete on *.* to 'root'@'%';
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.00 sec)
mysql>
mysql>
mysql>
mysql> grant select,insert,update,delete on *.* to 'root'@'%';
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> grant all on *.* to 'root'@'%';
Query OK, 0 rows affected (0.00 sec)
解释说明:
对root用户进行授权远程登录,然后发现报错ERROR 1290 (HY000)
然后进行flush privileges。
然后再次执行授权,问题解决。
来源:https://blog.51cto.com/lovejxs/2437110
标签:MySQL,ERROR,1290,HY000
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
解决python彩色螺旋线绘制引发的问题
2023-06-30 12:49:12
![](https://img.aspxhome.com/file/2023/2/88942_0s.jpg)
python实现简单日志记录库glog的使用
2023-01-07 23:14:40
教你轻松掌握如何保护MySQL中的重要数据
2008-12-19 17:42:00
css布局自适应高度方法
2007-05-11 17:03:00
antd-日历组件,前后禁止选择,只能选中间一部分的实例
2024-04-27 15:56:35
![](https://img.aspxhome.com/file/2023/7/133087_0s.jpg)
windows下python 3.9 Numpy scipy和matlabplot的安装教程详解
2021-12-20 13:20:47
![](https://img.aspxhome.com/file/2023/5/117845_0s.png)
将SQL 2000日志迁移到SQL Server 2008
2009-03-25 16:20:00
详解Python GUI工具取色器
2021-01-23 10:12:04
![](https://img.aspxhome.com/file/2023/4/87764_0s.gif)
Python Opencv使用ann神经网络识别手写数字功能
2023-11-03 02:44:52
![](https://img.aspxhome.com/file/2023/8/63268_0s.png)
python实现在字符串中查找子字符串的方法
2022-07-03 15:37:50
Tkinter组件实现Radiobutton的示例
2022-08-01 00:23:24
![](https://img.aspxhome.com/file/2023/9/131629_0s.png)
Python深度学习之使用Albumentations对图像做增强
2023-11-24 06:18:23
![](https://img.aspxhome.com/file/2023/5/64275_0s.jpg)
PyCharm添加Anaconda中的虚拟环境Python解释器出现Conda executable is not found错误解决
2022-02-24 23:51:03
![](https://img.aspxhome.com/file/2023/9/101059_0s.png)
MySQL数据库中表的操作详解
2024-01-26 20:37:27
SQLite数据库管理相关命令的使用介绍
2024-01-27 12:41:00
python中用logging实现日志滚动和过期日志删除功能
2021-03-17 14:21:18
python 中 lxml 的 etree 标签解析
2023-02-26 02:59:37
python性能测试手机号验证码登录压测示例详解
2021-06-05 13:21:25
深入mysql主从复制延迟问题的详解
2024-01-26 09:55:11
对架构师的建议:博学笃志,切问近思
2009-09-25 12:55:00