单项选择题

在linux系统下,配置主服务器时需要在配置文件my.cnf中开启二进制日志,以下正确的是()。

A.log-bin=mysql-bin
B.log=mysql-bin
C.server-id=1
D.log-error=mysql-bin