Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch | Linux Today

Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch

Written By
FT
Falko Timme
Nov 22, 2008

[ Thanks to Falko
Timme
for this link. ]

“Since version 5, MySQL comes with built-in support for
master-master replication, solving the problem that can happen with
self-generated keys. In former MySQL versions, the problem with
master-master replication was that conflicts arose immediately if
node A and node B both inserted an auto-incrementing key on the
same table. The advantages of master-master replication over the
traditional master-slave replication are that you don’t have to
modify your applications to make write accesses only to the master,
and that it is easier to provide high-availability because if the
master fails, you still have the other master.”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.