mysql - Best way to write in remote database -
I have a website on server 1 which is using the database on the same server (MySQL).
I have a web application on Server 2 which is using other databases (MySQL) on the same server
Both MySQL are confined to local access only
I want my web - application to update some data in server 1's MySQL database (so that it appears on my website).
What's the best way?
- Provide MySQL access to server 1 from a server other than a local server
- To send a PHP request to the HTTP server on server 1, it will then update the database
Thanks
The best way to do this is to do it on a different server Using the Web Service to Communicate Between Apps You Can Make a User SOAP or REST Web Service.
Comments
Post a Comment