Why do I get "Access denied for user 'root'@'myhostname" when connecting to my database in PHP?
Posted
by eishita
on Stack Overflow
See other posts from Stack Overflow
or by eishita
Published on 2010-05-20T22:54:19Z
Indexed on
2010/05/20
23:00 UTC
Read the original article
Hit count: 171
I have set up an Apache server on mandriva linux 2010.1. But the problem is whenever I'm trying to connect with the database, it's giving me the following error:
Error:Database error: SQLSTATE[28000] [1045] Access denied for user 'root'@'myhostname' (using password: YES)
Can anyone help in this regard please?
Thanks.
© Stack Overflow or respective owner