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) in
/home/alaguraj/public_html/my.php on line 3
Could not connect: Access denied for user
'alaguraj'@'localhost' (using password: YES)
is there any problem with apache?? how can i solve
this problem.

thanks in advance
my test code is":

#!/usr/local/bin/php
<?php
$link = mysql_connect("localhost","alaguraj","iii");
if (!$link) {
   die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to