xtrabackup 失败!
mysqldump
报错:
ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.
在dump导出时,添加--set-gtid-purged=off参数,避免将gtid信息导出
mysqldump -uxxxxx -pxxxxxxx --all-databases --set-gtid-purged=off > /dir/name.sql