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


1.登录的mysql:mysql –u root –p



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

3. flush privileges;