0

I have Configured Magento With Valid Credentials. But, it shows SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) . I have Cleared Cache(Deleted var Folder).

Cross Checked app/etc/local.xml

Gave 777 Permission to root folder.

I Checked by Renamed/Deleted app/etc/local.xml still it shows the same Error.

4
  • 2
    is this root db details correct ? check if there is any other backup local.xml exist in etc folder and delete if exist. Commented Aug 7, 2017 at 5:58
  • Yeah Thanks @PankajPareek. It worked. But Why it is taking instead local.xml Commented Aug 7, 2017 at 7:11
  • Magento loads all the xml file in etc folder and then merge the node. If we need to take backup then use backup string with extension name instead of file name. Commented Aug 7, 2017 at 8:28
  • @PankajPareek. Thanks for your information. Commented Aug 18, 2017 at 9:22

1 Answer 1

0

I Solved my issue.

I had other backup local.xml file. When i removed this it's worked fine.

Credits @Pankaj Pareek

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.