mysql 在执行写入操作的时候,报错:
mysql 在执行写入操作的时候,报错:
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
解决方式:
-
1.登录的mysql:mysql –u root –p
-
-
-
-
2. mysql> set global read_only=0;
-
( 关掉新主库的只读属性)
-
-
flush privileges

浙公网安备 33010602011771号