Sync Local Microsoft MySQL database to remote mysql database scheduled daily

耗尽温柔 提交于 2019-12-08 09:45:52

问题


Hi i have a local mysql database that gets updated locally daily on windows machine. at the end of the day, i want a scheduled job to be called by windows that updates a remote mysql database with all the the new data ie compare and synchronize.

i have already created the test database on remote server and ive allowed remote access. i want simple program/solution that i could call on command line that updates remote database with new or changed records etc.

the local database is on a windows machine and remote database is on a webserver with debian.


回答1:


MySQL allows replication: you wouldnt need to use a specific app, have you looked at http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html



来源:https://stackoverflow.com/questions/12155889/sync-local-microsoft-mysql-database-to-remote-mysql-database-scheduled-daily

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!