Am Mon, 06 Dec 2004 21:16:02 -0800 schrieb alagu raj:

> hello all,
> i had installed mysql-4.1.7 and php-4.3.5 and while
> testing the php. it shows error as:
> mysql_connect(): Access denied for user
> 'alaguraj'@'localhost' (using password: YES) 

What are the privileges for user alaguraj? If You have a column in
mysql.user with the host-field other than 'localhost" You have to add one
for localhost regardless, if there is one for '%'. Alternatively You may
try not to connect to localhost but to the "real" hostname in
mysql_connect().



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to