retrieving data from remote server

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
vinny199
Forum Newbie
Posts: 8
Joined: Sun Nov 16, 2003 12:58 pm
Location: London

retrieving data from remote server

Post by vinny199 »

Hi,

I am trying to do the following:

I would like 3 websites to "pull" data of the same MySql database on a 4th website / remote server.

How can I get my 3 websites to connect to that database on the 4th server in order to retrieve and display data from it?

The 4 sites are not hosted on the same server, hence a full path to the server in the connection string is not an option.

I can't see a way around it.

Can you help?

Thanks a lot,

vinny
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You need to ensure first of all that you are able to connect to the MySQL database remotely, many hosts only allow local connections.

Mac
Post Reply