试题详情


Choose the best answer.
Binary log events for the ‘mydb1‘ schema must be copied to a different schema name ‘mydb2‘. Which command will do this?

Amysqlbinlog --read- from-remote-server --raw | sed ‘s/mydb1/mydb2/g‘ | mysql

Bmysqlbinlog --rewrite-db= ‘mydb1->mydb2‘ | mysql

Cmysqlbinlog --datebase=mydb1 --database=mnydb2 | mysql

Dmysqlbinlog --rewrite-db=‘mydb1‘ --rewrite-db=‘mydb2‘ | mysql B