MySql phpMyAdmin: Replicating/Synchronizng two Database automatically

后端 未结 2 1426
天命终不由人
天命终不由人 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:29

    The "synchronisation" feature you are looking for is called Replication.

    A replication can be set up between a master and a slave machine.

    It does not rely on a constant connection, but stores all changes on the master and replays all those changes on the slave once a connection is established.

    Tuturial for you

提交回复
热议问题