SQLSTATE[42000] [1044] Access denied for user ‘bmsswsxf_shahed’@’localhost’ to database

Hello i am facing Illuminate\Database\QueryException SQLSTATE[42000] [1044] Access denied for user 'bmsswsxf_shahed'@'localhost' to database 'bmsswsxf_contentbasedapp' (SQL: select * from sessions where id = QLzDGJ8MYo3oBKG4WfD0PfQPkBkXJ7f0cZeuBz33 limit 1) problem when I try to run my project in cpanel

But I have update my .env file you can see this

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=bmsswsxf_contentbasedapp
DB_USERNAME=bmsswsxf_shahed
DB_PASSWORD=my pass is given here

Here is user name This is the image of user created



Read more here: https://stackoverflow.com/questions/67379530/sqlstate42000-1044-access-denied-for-user-bmsswsxf-shahedlocalhost-to-d

Content Attribution

This content was originally published by Abdullah Al Shahed at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: