Hi
Did you use mysqladmin to set the password?
#mysqladmin -u username password yourpasswordgoeshere
Also, make sure you are using the correct username, password and hostname in
your mysql_connect()
Hope this helps.
>From: "L.V.Gandhi" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "[EMAIL PROTECTED]"
><[EMAIL PROTECTED]>
>Subject: [LIH] PCQ - php with mysql - problem of access denied.
>Date: Wed, 21 Feb 2001 19:45:31 +0530
>
>I did exactly as said in PCQ for accessing databases using apache, php
>and mysql. When I tried to open test.php, I got the error as
>mysql connection failed:access denied to user
>root@localhost(PASSWORD=yes)...
>Why it should have happened. Any more details needed. I accessed the
>above page as root and also as an user. still i got the same problem.
>--
>L.V.Gandhi
>MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
>http://www.poboxes.com/lvgandhi [EMAIL PROTECTED],
>[EMAIL PROTECTED], [EMAIL PROTECTED]
>
>
>
>----------------------------------------------
>An alpha version of a web based tool to manage
>your subscription with this mailing list is at
>http://lists.linux-india.org/cgi-bin/mj_wwwusr
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr