将数据库从桌面系统同步到远程服务器,反之亦然?
我制作了一个应用程序,它必须有接口。一种是桌面应用程序,另一种是 Web 应用程序。 两者都有自己的数据库(结构相同)。
我想同步数据库从桌面到远程服务器以及远程服务器到桌面,但我不知道如何实现做。
我使用MYSql数据库。我的桌面应用程序位于 .NET
注意:有多个 destop 系统更新其数据库并同步数据库。
I make a application, which has to interfaces. one is desktop and other is web application.
both have their own databases (which are same is structure).
I want to sync the database from desktop to remote server and also from remote server to desktop but i have no idea that how it does.
I use the MYSql database. and my desktop application is in .NET
NOTE: There are more than one destop systems who update their databases and also sync databases.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以编写一个应用程序,从目标数据库中删除数据库和目标数据库之间的公共数据,然后将所有数据从数据库复制到目标数据库。
通过这项工作,您每次执行这项工作时都可以获得更新的数据。
you can write an application that delete the common data between your db and destination db from destination db, after that copy all of your data from db to your destination db.
by this work you can have a updated data in every time that you do this work.