又是这种错, 以前没遇过, 没办法, 直接google.

下面看解决办法:

登录mysql, 当然了如果您登录不上(密码错误情况), 直接扔这个属性进去my.cnf配置文件skip-grant-table登录密码也省了

(关闭新主库的只读属性)
mysql> set global read_only=0;

(刷新)
mysql>  flush privileges;


大功告成! so easy!

  

MySQL新建用户保存的时报错:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

相关文章:

  • 2021-09-22
  • 2021-12-12
  • 2021-09-03
  • 2021-06-07
  • 2021-08-06
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2021-12-31
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
相关资源
相似解决方案