--log-bin
option to enable binary logging. --log-slave-updates
is used when you want to chain replication servers.For example, you might want to set up replication servers using this arrangement:
A -> B -> C
Here,
[ref: http://dev.mysql.com/doc/refman/5.1/en/replication-options-slave.html]
A
serves as the master for the slave B
, and B
serves as the master for the slave C
. For this to work, B
must be both a master and a slave. You must start both A
and B
with --log-bin
to enable binary logging, and B
with the --log-slave-updates
option so that updates received from A
are logged by B
to its binary log.[ref: http://dev.mysql.com/doc/refman/5.1/en/replication-options-slave.html]
No comments:
Post a Comment