[root@localhost ~]# mysqldump --databases db -uroot -p > /backup/db2.sql
Enter password:
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时候,查看结果发现已经备份成功,但是为啥出现这种报错