How to do MySQL replication (dual-master / multi-master)


# Mysql node a
[mysqld]
server-id = 10
auto_increment_increment = 10
auto_increment_offset = 1
master-host = nodeb
master-user = replication
master-password = replication

# Mysql node b
[mysqld]
server-id = 20
auto_increment_increment = 10
auto_increment_offset = 2
master-host = nodea
master-user = replication
master-password = replication

Related posts:

  1. Howto: How to Reset the MySQL Root Password
  2. Optimize MySQL for Low Memory Use
  3. MDB Tools to export (migrate) from mdb (Microsoft Access format) to MySQL
  4. Sun acquires MySQL
  5. Optimize MySQL Performance With MySQLTuner
  6. MySQL: Remove Duplicate Entries
  7. MySQL Optimization and Performance Tips
  8. Compressing mysqldump output – mysql, gzip, bzip2 and LZMA (7z)
  9. MySQL 5.0 Release Candidate
  10. Crack Windows Password

Popular Related Items »

2 Comments »

  1. Cody said,

    June 14, 2008 @ 3:14

    Worked great for me! Thanks for posting such a good article.

    Thanks,
    Cody

    http://www.ticket-vault.com

  2. james said,

    September 10, 2009 @ 3:51

    This is also a useful link…

    http://www.cervistech.com/index.php?option=com_content&view=article&id=55&Itemid=2

RSS feed for comments on this post · TrackBack URI

Leave a Comment