Re: Dbconnect
| From: | Michael Kimsal | Date: | Fri, 08 Mar 2002 04:41:27 +0000 |
| Subject: | Re: Dbconnect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87734@lists.php.net to get a copy of this message | ||
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.