4

I've setup a 3-node multi master replication with percona xtradb cluster, it works perfectly.

Now I've tried to add some read-only slaves setting up replication as usual but it seems the binlog doesn't include the new inserts,

I've set binlog_do_db on the master of a database, slave says the log position is the same as the master ones but the new data isn't there.

Is there a special way to do replication on xtradb cluster?

RolandoMySQLDBA
  • 182,700
  • 33
  • 317
  • 520
alex88
  • 143
  • 1
  • 5
  • What is the version of Percona Server in PXC? 2) Are you using MySQL or Percona Server in the ReadOnly Slave? 3) What is SHOW VARIABLES LIKE 'binlog_format'; from PXC and the Slaves?
  • – RolandoMySQLDBA Jun 07 '13 at 17:58
  • 5.5.30
  • Plain MySQL from Ubuntu packages
  • PXC = ROW, slave = STATEMENT
  • now I remember for PXC you have to change the binlog_format. Going to try to change that :)

    – alex88 Jun 07 '13 at 18:25
  • On a side note, please make sure all Slaves are running 5.5.x. – RolandoMySQLDBA Jun 07 '13 at 18:36
  • What version of MySQL on the Slaves ? Please run mysqld --version – RolandoMySQLDBA Jun 07 '13 at 20:14
  • Version is mysqld Ver 5.5.31-0ubuntu0.12.04.2 (sorry for the delay) – alex88 Jun 07 '13 at 22:04