Why do I get "Access denied for user 'root'@'myhostname" when connecting to my database in PHP?
- by eishita
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.