Transfering Information Across Servers

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
fandomfilms
Forum Newbie
Posts: 2
Joined: Mon Jun 10, 2002 2:09 pm
Location: Chicago

Transfering Information Across Servers

Post by fandomfilms »

I've written a script that pulls all the information from one database one server one to a new server and into database two in order to back-up information on my server and transfer some functions to a new host machine. The script is running on machine number one... My issue has to deal with the fact that shh2 has been turned on on the second machine thus my script can log into server number two however it can not locate the database number two on server two. I contacted my technical support staff where server number two is located and they suggested the following:

You could have the script open an ssh2 to connection to the other server and send the connection through a port forward.

I've looked at php.net for help and honestly don't understand how to write the code or what exactly what I'm suppose to do. Can anyone help???

Thank you :oops:
Post Reply