mysql 本地库 远程库 同步,每天将本地Microsoft MySQL数据库同步到远程MySQL数据库...

博主寻求一种方案,每天结束时通过Windows计划任务更新远程Debian服务器上的MySQL数据库。已经创建了远程测试数据库并启用了远程访问。建议考虑使用MySQL的复制功能,无需特定应用,查阅官方文档http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html以实现数据库的比较和同步。
摘要由CSDN通过智能技术生成

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.

解决方案

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值