douba2705
douba2705
2014-07-05 11:22

在C#GUI应用程序中将远程Mysql数据库同步到本地

已采纳

I'm implementing an application to sync data from a remote mysql server to local mysql database. Without the main part (Synchronization) I have almost done with the application.

I want to know how to synchronize my local mysql database from a remote mysql database. I'm ok if it want to run from PHP scrip. but, if it runs from PHP script I want to know how to call php script from C# application. So the application can call php and sync at a certain time. Apologize if my question is unclear to you.

Any help on this would be great.

Thanks in Advanced!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dpo15099 dpo15099 7年前

    Why you cant setup master -slave replication with your local database. Here is more information. Here is good starting point. Mysql database sync between two databases

    点赞 评论 复制链接分享