The MySQL server is running with the --read-only option so it cannot execute this statement
是因为有人锁库了,设置为只读模式,所以才会出现上述问题
解决办法:
mysql> set global read_only=0;
(关掉新主库的只读属性)
flush privileges;
mysql>set global read_only=1;
(开启新主库的只读属性)
flush privileges;
还没有评论,来说两句吧...