如题所示,报错发生在MySQL数据导入的时候;

一般发生该错误的原因是导出端的MySQL开启了GTID,因此,导出数据的时候,默认都会启用GTID;

如果不希望遇到该问题,可以在【mysqldump】的时候,加上选项:【 –set-gtid-purged=OFF 】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装