Josiah Wallingford wrote:
> I have a file called dbconnect that stores all of my mysql information
> (host, user, pass) up until now I have always just used localhost as the
> hostname because it was on my local server. My question is what do I have to
> do to connect to a different server? Do I just have to put in the computers
> ip address?

Yes.  Except:

If that server will allow a remote connection from yours, then you're 
all set.  If that server doesn't allow remote MySQL connections, you'll 
need to have that mysql administrator allow remote connections for that 
mysql user and/or ip.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to