--set-gtid-purged=OFF 确保mysqldump一致

Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that changed suppressed parts of the database. If you don't want to restore GTIDs, pass --set-gtid-purged=OFF. To make a complete dump, pass --all-databases --triggers --routines --events. 

猜你喜欢

转载自blog.csdn.net/qq_16059847/article/details/88994148
今日推荐