试题详情


Choose the best answer.
Your MySQL environment has asynchronous position based-replication with one master and one slave.
The slave instance had a disk I/O problem, so it was stopped.
You determined that the slave relay log files were corrupted and unusable, but no other files are damaged.
You restart MySQL Server.
How can replication be restored?

AThe slave relay logs should be deleted; then execute START SLAVE;

BThe slave needs to be restored from backup.

CThe slave relay logs should be deleted; execute CHANGE MASTER to adjust the replication relay log file name, then issue START SLAVE;

DThe relay logs from the master should be used to replace the corrupted relay logs.