Magento-1.9 – Fix SQLSTATE[HY000] [1045] Access Denied for User ‘root’@’localhost’

local.xmlmagento-1.9permissions

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.

Best Answer

I Solved my issue.

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

Credits @Pankaj Pareek

Related Topic