I am new at plesk cpanel. I have tried to configure a laravel project on plesk for at least 5 hours. But It has showed the below error :
SQLSTATE[HY000] [1045] Access denied for user 'database_root'@'localhost'
(using password: YES) (SQL: select * from `websites` limit 1)
I have searched on google and followed may articles . But can not fixed the errors. Please help me how to fix it.
.env file contains
DB_DATABASE=blog
DB_USERNAME=database_root
DB_PASSWORD=123456abc
2
Answers
Check Database Credentials in cPanel
So next you need to reset your username and password. In cPanel, click on MySQL Databases under the Databases section.
I think .env change doesn’t appeared to that please clear your cache Make a route