jeudi 20 juillet 2017

Laravel Migrations works but can't access data when needed

when i execute migrations it works and the table are created in my data base . but when i try to access to data from any table its tells me this

QueryException SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from marques)

here the configuration in my .env file

 DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=koss
    DB_USERNAME=root
    DB_PASSWORD=root

PLEASE HELP !!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ufPM58
via IFTTT

Aucun commentaire:

Enregistrer un commentaire