I have a pretty much straightforward Master –> Slave replication setup in MySQL 5.6 / Innodb.
Both my Master and Slave are setup in MIXED binlog format.
Now I need my slave to act as a master to plug a Java binlog connector that will retrieve the binlog to further feed a hadoop stack.
For this to work I have enabled the log-slave-updates variable
Thing is: that java connector will better work on row based binary log.
So my question is:
- Can I safely change the binlog format on my slave for ROW ?
- and keeping the MIXED format on the master ?
I Couldn't find any specifics about this in MySQL docs.
Best Answer
It might be in the manual:
-- http://dev.mysql.com/doc/refman/5.6/en/binary-log-setting.html
That is "Yes" to your questions.
Note that
ROW
is the default for 5.7. That is,ROW
has proven itself to be the 'right' way to do replication. Galera clustering can't even work withoutROW
.