RE: [PHP] Database connection problem
| From: | Demitrious S. Kelly | Date: | Tue, 26 Mar 2002 02:02:18 +0000 |
| Subject: | RE: [PHP] Database connection problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90133@lists.php.net to get a copy of this message | ||
I have no idea what you meant to ask... but instead of an ip address I
would use the hostname 'localhost' which most servers are setup by
default to understand as 127.0.0.1 (loopback). And you can add an entry
to /etc/hosts or C:\windows\hosts or c:\winnt\(?system(?32?)\?)hosts
But that's just me...
-----Original Message-----
From: Omland Christopher m [mailto:Christopher.Omland@Colorado.EDU]
Sent: Monday, March 25, 2002 5:55 PM
To: Cameron Just
Cc: php-general@lists.php.net
Subject: [PHP] Database connection problem
Hi, can anyone help me with this problem.
I'm trying to connect to a MySQL database on my computer, I don't have a
hostname for it, so I just insert the IP, something like this.
...
mysql_cos?
Thanks.
-Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php