php - data synchronization between remote and local each with write -
i have local database , main database, both in mysql. local db being updated , data being sent main db whenever there internet. main db being updated . how can synchronize data between local site , main server?
try use 1 database instead 2 databases, in local development may use ssh tunnel:
ssh -f -n -l 3333:192.127.48.160:5432 yoursite.com
Comments
Post a Comment