当前位置: 动力学知识库 > 问答 > 编程问答 >

mysql - data replication and master

问题描述:

I have a web based system in php that works locally in multiple places and in each place has a local database in mysqli.

Also my system in every place connect remotely to another database that get all of information from specific tables of local systems as an example when you insert a record in any place,this record insert to remote database ,too. and so on ,to tell summary sync information from local to remote database.

schema of the system

Now I know replication can be a good idea for this.

but I don't know when my remote database has a problem and my system can't connected to remote database how to apply changes in local database to remote database?

分享给朋友:
您可能感兴趣的文章:
随机阅读: