Recently, I was asked if it is possible to replicate an NDB cluster to a non-NDB MySQL database. So, I tried!
I created the following table on the MySQL master:
Create Table: CREATE TABLE `testrepl` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=ndbcluster DEFAULT CHARSET=latin1
and on the slave:
Create Table: CREATE TABLE `testrepl` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1
Of course, for obvious reasons, NDB only supports row based replication so I configured the master to use row based:
mysql> show global variables like 'binlog_format'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | binlog_format | ROW | +---------------+-------+ 1 row in set (0.00 sec)
Then I tried and go the following error:
Last_Error: Error 'Incorrect information in file:[Read more...]