1Z0-908 · Question #5
You have an InnoDB Cluster configured with three servers. Examine this command, which executes successfully: mysqldump -uroot -p -d mydatabase > mydatabase_backup.sql Due to data loss, the cluster…
The correct answer is B. Remove the @@GLOBAL.gtid_purged statement from the dump file. C. Create the backup by using the --set-gtid-purged=OFF option. https://scriptingmysql.wordpress.com/2013/07/18/mysql-creating-and-restoring-database- backups-with-mysqldump-and-mysql-enterprise-backup-part-1-of-2/
Question
You have an InnoDB Cluster configured with three servers. Examine this command, which executes successfully:
mysqldump -uroot -p -d mydatabase > mydatabase_backup.sql Due to data loss, the cluster is initialized and a restore is attempted resulting in this error:
ERROR 13176 (HY000) at line 23: Cannot update GTID_PURGED with the Group Replication plugin running Which two actions, either one of which, can fix this error and allow a successful restore of the cluster? (Choose two.)
Options
- AStop all instances except the primary read/write master instance and run the restore.
- BRemove the @@GLOBAL.gtid_purged statement from the dump file.
- CCreate the backup by using the --set-gtid-purged=OFF option.
- DRemove the group replication plugin from each instance before restoring.
- ERemove the @@GLOBAL.gtid_executed statement from the dump file.
- FRestore using the --set-gtid-purged=OFF option.
How the community answered
(49 responses)- A2% (1)
- B59% (29)
- D24% (12)
- E4% (2)
- F10% (5)
Explanation
https://scriptingmysql.wordpress.com/2013/07/18/mysql-creating-and-restoring-database- backups-with-mysqldump-and-mysql-enterprise-backup-part-1-of-2/
Topics
Community Discussion
No community discussion yet for this question.