Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
MySQL where to find user credentials file?
I am struggling with this problem for a while now. And it is just taking too long. I am having this error: SQLSTATE[HY000]  Access…root@…password: YES) whenever I get on my website’s main page. This doesn’t occur when entering my website’s phpmyadmin page though. Now, people have told me to fck off and learn everything about MySQL and then come back, but there were also people who told me that my MySQL credentials were not set right. So, my question now is: “Where can I find these MySQL Credentials and in which file do I need to adjust them?*”
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×