logo       

Re: multiple master mysql servers: msg#01051

db.mysql.general

Subject: Re: multiple master mysql servers

Actually, you can have a problem with any unique key.
Both machines could inset new records with the same unique key
at nearly the same time, then both later fail on the replication.

Jeremy Zawodny wrote:

On Tue, Jun 25, 2002 at 06:52:36AM -0700, Zachary Denison wrote:

Hi,
I have setup successfully a mysql master / slave configuration
however I would like to setup a system whereby updates could be
performed on either system and then propagated to the other server
(a master/master configuration) -- is this possible with mysql 4, or
has anyone built any hacks to make this possible?


You'll run into trouble if you're using auto-increment fields.
Otherwise, it is possible to do.

Jeremy




---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <mysql-thread113300@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise