Multi master replication with different database I have three database server.


ip=192.168.1.101 db=google
ip=192.168.1.102 db1=google db2=yahoo
ip=192.168.1.103 db1=google db2=yahoo


I want to do master replication between server1 and server2 for db=google
and
master master replication between server2 and server3 for db=yahoo

Can I have a suggestion or reference links to do that?
I assume you have M1 -> M2 -> M3 -> M1  ?

On M1, have the tables in yahoo be ENGINE=BLACKHOLE.