[mysqld]
skip-host-cache
skip-name-resolve
server-id=2
relay-log = /var/log/mysql/mysql-relay-bin.log
log_bin = /var/log/mysql/mysql-bin.log
binlog_do_db = mydb