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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

How to merge four videos on one screen with ffmpeg -

c - getting error: cannot take the address of an rvalue of type 'int' -