How do I sync 2 MySQL databases?

两盒软妹~` 提交于 2019-12-12 02:23:57

问题


I written a program to work with a MySQL database that powers my website and I have recently bought some reseller hosting however the hosting company has restricted external access on the shared server, so I was going to setup an external mySQL database on another server that can be accessed remotely, however to do this I need a PHP file on my reseller server that can connect to the local database and the remote database and sync them on request from the application via a url.

Does anyone know the best method achieve this?


回答1:


Try using SQLyog's Database synchronization tool



来源:https://stackoverflow.com/questions/7946540/how-do-i-sync-2-mysql-databases

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!