Sridhar Ranganathan wrote:
> Did you use mysqladmin to set the password?

Yes. During installation itself.
 
> #mysqladmin -u username password yourpasswordgoeshere
> 
> Also, make sure you are using the correct username, password and hostname in
> your mysql_connect()

I did exactly as said in the PCQ. Still the problem persists.

> >From: "L.V.Gandhi" <[EMAIL PROTECTED]>
> >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

-- 
L.V.Gandhi
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://www.poboxes.com/lvgandhi  [EMAIL PROTECTED], 
[EMAIL PROTECTED],  [EMAIL PROTECTED]


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to