Connecting to external MySQL DB from a web server not running MySQL

Posted by jrb04c on Stack Overflow See other posts from Stack Overflow or by jrb04c
Published on 2010-04-13T19:33:19Z Indexed on 2010/04/13 19:43 UTC
Read the original article Hit count: 431

Filed under:
|

While I've been working with MySQL for years, this is the first time I've run across this very newbie-esq issue. Due to a client demand, I must host their website files (PHP) on a IIS server that is not running MySQL (instead, they are running MSSQL). However, I have developed the site using a MySQL database which is located on an external host (Rackspace Cloud). Obviously, my mysql_connect function is now bombing because MySQL is not running on localhost.

Question: Is it even possible to hit an external MySQL database if localhost is not running MySQL?

Apologies for the rookie question, and many thanks in advance.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php