If you use a chain of masters, you can accomplish the same effect:
However I don't recommend this since the more links you have in a replication chain, the easier it is to break it in a way that's very not-fun to deal with.
From: Rolando Edwards [mailto:email@example.com]
Sent: Wednesday, November 24, 2010 6:53 AM
To: Machiel Richards; mysql mailing list
Subject: RE: Another replication question
MySQL, by design, cannot do that.
A DB Server can be Master to Multiple Slaves
Think of the CHANGE MASTER TO command.
Its internal design cannot accommodate reading from more than one set of relay logs.
You could attempt something convoluted, like
1) STOP SLAVE;
2) CHANGE MASTER TO <Master 1>
3) START SLAVE;
4) Read and process some binary log transactions, wait till you are zero sec behind master
5) STOP SLAVE;
6) CHANGE MASTER TO <Master 2>
7) START SLAVE;
8) Read some process binary log transactions, wait till you are zero sec behind master
9) Repeat from step 1
Make sure Each Master is updating only one specific set of databases, mutual exclusive from other Masters
Make sure you properly record the log file and log position from each master
I would never try this under normal circumstances.
I think this was described in the "High Performance MySQL" book
Rolando A. Edwards
MySQL DBA (CMDBA)
155 Avenue of the Americas, Fifth Floor
New York, NY 10013
AIM & Skype : RolandoLogicWorx
From: Machiel Richards [mailto:machielr@stripped]
Sent: Wednesday, November 24, 2010 7:20 AM
To: mysql mailing list
Subject: Another replication question
I am back once again with another replication question (maybe this
can also be handled by MMM but not sure) this time for a different
We are trying to find out how to setup 3 different masters to
replicate to a single slave server (without the need to have 3 different
instances running on the slave machine).
Does anybody have any ideas?
Any ideas will be greatly appreciated.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you are notified that reviewing, disseminating, disclosing, copying or distributing this e-mail is strictly prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any loss or damage caused by viruses or errors or omissions in the contents of this message, which arise as a result of e-mail transmission. [FriendFinder Networks, Inc., 220 Humboldt Court, Sunnyvale, CA 94089, USA, FriendFinder.com