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.
原文:https://www.cnblogs.com/tingxin/p/13998437.html