改mysql数据库配置文件无密码登录后,修改密码报错Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip

一个很有趣的个人博客,不信你来撩 fangzengye.com



实操:阿里云CentOS 7.4 64位服务器
修改mysql数据库配置文件无密码登录后,修改密码报错:

ERROR 1290 (HY000): 
		The MySQL server is running with the --skip-grant-tables
		option so it cannot execute this statement
1

2
3

解决方案

先执行:

flush privileges;

1
再执行修改密码命令,可以了。

posted @ 2020-08-05 21:54  开源的Boy  阅读(113)  评论(0)    收藏  举报