RE: [PHP] Database connection problem
| From: | Rick Emery | Date: | Tue, 26 Mar 2002 13:55:45 +0000 |
| Subject: | RE: [PHP] Database connection problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90182@lists.php.net to get a copy of this message | ||
$connect = mysql_connect("localhost","user","password") or
die(mysql_error);
-----Original Message-----
From: Omland Christopher m [mailto:Christopher.Omland@Colorado.EDU]
Sent: Monday, March 25, 2002 7: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