实操:阿里云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
先执行:
flush privileges;
再执行修改密码命令,可以了。
实操:阿里云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
先执行:
flush privileges;
再执行修改密码命令,可以了。