MySql phpMyAdmin: Replicating/Synchronizng two Database automatically

后端 未结 2 1428
天命终不由人
天命终不由人 2021-01-07 02:08

I have two same database on two different server, and I want to synchronize both database.

For example, If I do any process like Insert, Update, Delete, Alter, Drop,

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-07 02:27

    What you're talking about is called 'Replication'.

    If you are going to be making changes to both databases and expect it to show up in the other, you need a Master/Master pair.

    Have a read about it here: https://dba.stackexchange.com/questions/9424/best-way-to-setup-master-to-multi-master-replication

提交回复
热议问题