Problem w/ mysql_pconnect

From: Date: Sun, 23 Jun 2002 14:07:08 +0000
Subject: Problem w/ mysql_pconnect
Groups: php.db 
Request: Send a blank email to php-db+get-20008@lists.php.net to get a copy of this message
I'm using PHP 4.2.0 with MYSQL 3.23. When I try to use either the mysql_connect or mysql_pconnect to access the database, I get the following error message: Access denied for user: 'pauld@localhost.localdomain' (Using password: YES) I have tried different user names and nothing seems to work. If I use the functions without any parameters, it'll work just fine, and when I try access directly from the console, it'll work fine also. The problem seems to lie with the function parameters, which is written as follows: $db = mysql_pconnect("localhost", "pauld", "any_pwd") or die($php_errormsg); Any suggestions would be very much appreciated.

« previous php.db (#20008) next »