首页 > 其他 > 详细

ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.

时间:2020-11-18 10:43:34      阅读:61      评论:0      收藏:0      [点我收藏+]

mysql 导入数据出现问题

[root@mar data]# mysql -uroot -p1 --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 -p1 --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.

原文:https://www.cnblogs.com/tingxin/p/13998437.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!