自动创建本地数据库并与服务器数据库同步 [英] Automatically create a local database and sync with the server database

查看:206
本文介绍了自动创建本地数据库并与服务器数据库同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,





我正在做一个关于POS系统自动故障转移的项目。

即当服务器机器之间没有连接时,特定的POS机应该成为服务器。

为了启用该功能,我尝试创建一个数据库,它是服务器数据库的副本,然后每个事务必须同步到创建的数据库。我应该在启动POS系统时创建此数据库。





有人能建议我这样做吗?





提前致谢

Hi friends,


I'm doing a project regarding automatic fail-over of a POS system.
i.e. When there is no connection between the server machine, the particular POS machine should become as the server.
To enable that feature, I've try to create a database, which is a copy of a server database and then each and every transaction must be sync to the created database. This database should be created when I started the POS system.


Can anyone suggest me the way of doing this?


Thanks in advance

推荐答案

这篇关于自动创建本地数据库并与服务器数据库同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆