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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -