简体   繁体   中英

How to Sync two mysql manually for shared hosting

I have two database for my website one is online(Godaddy Shared Hosting) and one is offline(Xampp), I want to sync both database manually.

Because there is limited access of internet in the office so our data entry team put data on offline database,I want that data to sync everyday in evening after there shift to online godaddy database. what should be the easiest possible way of doing this, also noted that there are extra data generated everyday in online database by public.

PS: I am using Cakephp 2.4

Just use classic file based replication with row based format. Make offline database as read-only to avoid any unauthorized writes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM