Which is the best way to bi-directionally synchronize dynamic data in real time using mysql

后端 未结 4 625
小鲜肉
小鲜肉 2020-12-14 03:57

Here is the scenario. 2 web servers in two separate locations having two mysql databases with identical tables. The data within the tables is also expected to be identical i

4条回答
  •  自闭症患者
    2020-12-14 04:39

    The only way to ensure your tables are synchronized is to setup a 2-ways replication between databases.

    But, MySQL only permits one-way replication, so you can't simply resolve your problem in this configuration.

    To be clear, you can "setup" a 2-ways replication but MySQL AB discourages this.

提交回复
热议问题