The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

浅浅的花香味﹌ 2023-07-10 15:36 62阅读 0赞

mysql 在执行写入操作的时候,报错:

  1. The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

解决方式:

  1. 1.登录的mysqlmysql u root p
  2. 2. mysql> set global read_only=0;
  3. 关掉新主库的只读属性)
  4. 3. flush privileges;

发表评论

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

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

相关阅读