cancel
Showing results for 
Search instead for 
Did you mean: 

SQLSTATE[HY000] [1045] Access denied for user 'magento'@'localhost' (using password: YES)

Re: SQLSTATE[HY000] [1045] Access denied for user 'magento'@'localhost' (using password: YES)

My database password has special characters. I added a backslash before the special characters I neglected to escape and it worked. If your password contains special characters that aren't escaped, try adding a backslash before them.