美文网首页
oldguo-MySQL 8.0 OCP 原题解析-Q9

oldguo-MySQL 8.0 OCP 原题解析-Q9

作者: MySQL_oldguo | 来源:发表于2021-05-27 12:39 被阅读0次

Question 9:

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?

A) Restore using the --set-gtid-purged=OFF option.

B) Remove the @@GLOBAL.gtid_executed statement from the dump file.

C) Remove the group replication plugin from each instance before restoring.

D) Remove the @@GLOBAL.gtid_purged statement from the dump file.

E) Create the backup by using the --set-gtid-purged=OFF option.

F) Stop all instances except the primary read/write master instance and run the restore.

相关文章

网友评论

      本文标题:oldguo-MySQL 8.0 OCP 原题解析-Q9

      本文链接:https://www.haomeiwen.com/subject/znfbjltx.html