note 10552 deleted from mysql_connect by sniper
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 00:05:23 +0000 |
| Subject: | note 10552 deleted from mysql_connect by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14412@lists.php.net to get a copy of this message | ||
Just wanted to reiterate what a post above mentioned. I was getting "host doesn't have
permission"-type errors with mysql_connect, read the post and realized that instead of passing
my server's host name/address to mysql_connect, I should just use "localhost", e.g.:
$link = mysql_connect ("localhost", "username", "password");
[Replacing "username" and "password" with the relevant entries, of course.]