SQLSTATE[28000] [1045] Access denied for user
Hi
can you help me
same trouble, can't access my site:
SQLSTATE[28000] [1045] Access denied for user
I ran into the same situation. What I did to fix the problem is to re-index the magento folder.
php bin/magento indexer:reindex
manually removing all the files in "cache" and "page cache" solved the problem for me.
Try flushing the cache and that's it
1. Find out what the exact problems, for this you need to enable printing errors.
1.1 use this command at the root of the project -> find . -type f -name local.xml.sample
1.2 you will find a file named local.xml.sample. Rename this file to local.xml
2. And clear cache using the command at the root of the project -> rm -rf var/cache/*
Now it will be simpler to resolve with the error displaying on the page.