I want upload my Laravel Project in Cpanel.
The first page is the login page for users that when a user logins, he is redirected to another page.
When I want to send the user information to the database, I get this error:
"SQLSTATE[42000] [1044] Access denied for user 'team'@'localhost' to database 'my database'"
In Cpanel
I'm creating a database and a user.
In phpMyAdmin
I'm creating my tables.
Alson in env
file I Add username and database name,
Where is my mistake? How can I solve it?