Forum Moderators: coopster

Message Too Old, No Replies

run script on a different server

         

jackvull

12:36 pm on May 2, 2006 (gmt 0)

10+ Year Member



Hi
I have 2 hosts. One will not allow me to connect to my MySQL database if the connection is from outside of that server.
So, I think I need to setup a script on server 2 that can be run by server 1. Is it possible to do this and if so, how?
Thanks.

jackvull

12:58 pm on May 2, 2006 (gmt 0)

10+ Year Member



Also, I'm wondering whether safe mode of the other checks (GID) might prevent this?

coopster

3:45 pm on May 2, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You can obtain data from a different server in a number of ways and remote connection to the database is one option but is often not the best solution. Security, speed, etc -- all kinds of possible implications. Another option may be to develop a script on the other server that sends the data out in a usable format. You then call that script from the first server and parse the data accordingly.

Ultimately you may want to consider just accessing and running on the first server anyway as if the second server weren't even an option.