Hello.


See:

  http://dev.mysql.com/doc/mysql/en/Access_denied.html





alagu raj <[EMAIL PROTECTED]> wrote:

> 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 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.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