1. 程式人生 > >mysql導出數據庫提示警告在GTID模式下面

mysql導出數據庫提示警告在GTID模式下面

pos war chang transacti 數據 clu 導出 partial from

[root@db02 tmp]# mysqldump -S /tmp/mysql.sock -A -R --triggers --master-data=2 --single-transaction |gzip >/tmp/12.gz
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.

mysql導出數據庫提示警告在GTID模式下面