lundi 22 août 2016

'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied [LARAVEL]

I'm doing some records to the database and from time to time came out this error:

local.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000]
[1045] Access denied for user 'homestead'@'localhost'
(using password: YES)' in
:WEBlitraenvendorlaravelframeworksrcIlluminateDatabaseConnectorsConnector.php:55

I have the file env. properly configured.

env.

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=auth
DB_USERNAME=root
DB_PASSWORD=

Aucun commentaire:

Enregistrer un commentaire