MySQL Replication

前端 未结 4 1729
萌比男神i
萌比男神i 2020-12-03 08:23

Shall I use MySQL replication to synchronize a local database and a remote database? If so, how do I setup both master and slave? Are there any other methods available to do

相关标签:
4条回答
  • 2020-12-03 08:42

    Full chapter on replication:

    http://oreilly.com/catalog/hpmysql/chapter/ch07.pdf

    and also very detailed here:

    http://downloads.mysql.com/docs/mysql-replication-excerpt-5.1-en.a4.pdf

    0 讨论(0)
  • 2020-12-03 08:48

    One interesting solution is the Percona XtraDB Cluster

    https://www.percona.com/doc/percona-xtradb-cluster/LATEST/intro.html

    Allows to setup multi master topology.

    0 讨论(0)
  • 2020-12-03 08:49

    If you are looking for a simple master-master replication between the servers, you can refer the below site. Just change the ip addresses and the database you want to replicate.

    https://gopukrish.wordpress.com/2014/05/29/mysql-master-master-replication/

    0 讨论(0)
  • 2020-12-03 08:55

    how to setup master/slave?

    This Replication: How to guide has both what you need to do on the master and the slave.

    any other methods available to do this

    There is also Multi-Master and Circular Replication for MySQL Cluster.

    0 讨论(0)
提交回复
热议问题