instead of 'localhost' use the ip address of the server
bastien
From: "Chris Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PHP-DB] Connecting to a remote server?
Date: Mon, 29 Nov 2004 18:09:06 -0500
Hi there everyone,
I have written a program in PHP with MySQL as the DB backend, I
Chris,
Same as with localhost, replace localhost with DNS name or IP of the remote
DB server. Make sure port 3306 is open on the DB server and that the box you
are connecting from is an allowed host in the users table of the mysql
database on the remote database.
Neal Carmine
Nine Systems Corpora