lundi 27 février 2017

SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES)

In my Ubuntu VM, I kept getting

SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES)

I have configured my database like this in my .env file

DB_HOST=45.55.88.57
DB_DATABASE=bheng-prod
DB_USERNAME=forge
DB_PASSWORD=*********
UNIX_SOCKET=/var/run/mysqld/mysqld.sock

What else I should look into to prevent this ?


I have a feeling that I have the wrong password.

How do I test my database password ? DB_PASSWORD=********* ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire