ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.
mysql 导入数据出现问题
[root@mar data]# mysql -uroot -p'1' --socket=/tmp/mysql3306.sock </data/all.sql mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.
解决方法
reset master;
问题解决
[root@mar data]# mysql -uroot -p'1' --socket=/tmp/mysql3306.sock </data/all.sql mysql: [Warning] Using a password on the command line interface can be insecure.
每天进步一点点,多思考,多总结
版权声明:本文为CNblog博主「zaituzhong」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。