问题
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