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

VN:F [1.8.5_1061]
Rating: 0.0/10 (0 votes cast)

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. Crack Windows Password
  8. MySQL Optimization and Performance Tips
  9. Compressing mysqldump output – mysql, gzip, bzip2 and LZMA (7z)
  10. Mysql Data Import

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