Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cann

朴灿烈づ我的快乐病毒、 2022-05-10 01:10 269阅读 0赞

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

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

先执行:

  1. flush privileges;

再执行修改密码命令,可以了。
在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,269人围观)

还没有评论,来说两句吧...

相关阅读