“SQLSTATE  Access denied for user ‘your username’ (using password: YES)”
Getting that error in your Magento store? I got it after moving a Magento to another server. The solution was simple, I had just entered the database connection username and password to wrong lines.
Solution for SQLSTATE access denied error:
1. Open local.xml in location app\etc\local.xml
2. Starting from line 41 review carefully that you have inserted the correct username, password and database name and that they are in between their correct tags.
3. Save everything and refresh page
4. Doesn’t hurt to clear the cache (delete everything in var\cache)