rswildy Posted January 5, 2009 Share Posted January 5, 2009 Is it possible to connect to a SQL database using MYSQL hosted on a completely different server. Is there any security issues with doing so if possible. And can anyone explain how, or link a tutorial.Thanks, In advance. Link to comment Share on other sites More sharing options...
Synook Posted January 5, 2009 Share Posted January 5, 2009 If this with PHP?You just enter the remote server's name in the first parameter of mysql_query(). Of course, since the data travels along an unsecured and public connection between the database server and the web server (as opposed to just through a socket) the possibility of interception is present, but since if this is for a internet application then unless you use SSL then the data would be open to interception en route between the server and client anyway (and if you do use Secure HTTP then you can just use the HTTPS protocol when specifying the database server's address). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.