暂无图片
MySQL报错:1209:The MySQL server is running with the skip grant tables option so it cannot execute this statement
我来答
分享
暂无图片 匿名用户
MySQL报错:1209:The MySQL server is running with the skip grant tables option so it cannot execute this statement
暂无图片 5M

QQ图片20220208095457.jpg

我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
沈克伟

先执行

flush privileges;

再执行

alter user 'root'@'localhost' identified by '405711';

暂无图片 评论
暂无图片 有用 0
暂无图片
GreatSQL

启动的时候参数里面加了 skip-grant-tables 跳过权限表了,所以不能赋权,你试试 flush privileges 刷新权限表看看

暂无图片 评论
暂无图片 有用 0
薛晓刚

这个应该是你启动时候跳过授权表了。通常是忘记了管理员密码了,这样进来改密码时候用的。但是这种情况下,你只能维护user表。不能做其他的。

所以你要改好密码去掉参数文件的 skip-grant-tables。重启数据库实例。才行。

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏