主my.cnf
# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1
binlog-do-db=cmstmp01
binlog-do-db=blogs
binlog-do-db=discuz
binlog-do-db=jobsys
binlog-do-db=marketing
binlog-do-db=workflow