Replication slave servers by default do not write to their own binary log any statements that are received from the replication master. To cause these statements to be logged, start the slave with the –log-slave-updates option.
log-slave-updates选项,mysql主从必备选项
发表评论