[mysqld]
server-
id
=1
port=3306
datadir=
/mydata/data
socket=
/tmp/mysql
.sock
log-bin=master-bin
binlog-
format
=ROW
log-slave-updates=
true
master-info-repository=TABLE
relay-log-info-repository=TABLE
sync
-master-info=1
slave-parallel-threads=2
binlog-checksum=CRC32
master-verify-checksum=1
slave-sql-verify-checksum=1
binlog-rows-query-log_events=1
report-host=master.lamp.com
report-port=3306
[mysqld]
server-
id
=11
port=3306
datadir=
/mydata/data
socket=
/tmp/mysql
.sock
log-bin=slave-bin
binlog-
format
=ROW
log-slave-updates=
true
master-info-repository=TABLE
relay-log-info-repository=TABLE
sync
-master-info=1
slave-parallel-threads=2
binlog-checksum=CRC32
master-verify-checksum=1
slave-sql-verify-checksum=1
binlog-rows-query-log_events=1
report-host=slave.lamp.com
report-port=3306