My client currently has a MySQL database on their web site; They would like to have the actual DB reside on a local server (on the office network), but serve out the data to the outside world via the web interface (residing on another server).
Make sense?
In other words, script residing on web server A designed to access MySQL data on web server B (which is in-house).
I've got some trials running, but keep getting errors like:
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query .........
I've checked log-in name, host name, etc. Still getting issues. Perhaps I'm filling in the host name properly? DB on "server B" is accessible locally with same script.
The idea is to have access to DB even when internet goes down.
Ideas? Comments?