samedi 1 février 2020

Laravel Error: Access denied for user 'db_name'@'localhost' (using password: YES) (SQL: select * from `users` where `email` = admin@admin.com limit 1)

I was searching for solutions here on SO, I saw multiple questions similar to this one but I didn't find an answer that can resolve this issue. My site is live on the server, and on logging in as admin it is giving this error. Here is my .env file code:

env file

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_name
DB_USERNAME=myroyal8_laravel
DB_PASSWORD=myroyal8_laravel99!

Here is the SS of error.

SS of Error Message

Please guide me as I'm stuck here for a while. Any suggestions/solutions will be highly appreciated.




Aucun commentaire:

Enregistrer un commentaire