执行: [root@t1 ~]# mysql -uroot -pjsb ailanni < /root/ailanni.sql Warning: Using a password on the command line interface can be insecure. ERROR 1840 (HY000) at line 24: GTID_PURGED can only be set
mysql执行导入(mysqldump导出文件)时报错ERROR 3546 (HY000) at line 24: @@GLOBAL.GTID_PURGED cannot be changed 报错处理 在mysql命令行执行: reset master; 随后再次执行即可。(也可删除报错位置行的命令)