mardi 28 juin 2016

laravel5.2 + local DB running in docker container

I have a question about using local db with Laravel. I'm running postgresql in docker container. When I ran migrations via artisan, all tables was created correctly (I can see them in pgAdmin). The problem is next: When I try to fetch data from DB Laravel says

SQLSTATE[08006] [7] FATAL: password authentication failed for user "pgsql_user_name"

in .env file i have next config:

DB_CONNECTION=pgsql DB_HOST=127.0.0.1
DB_PORT=5432 
DB_DATABASE=test_db 
DB_USERNAME=pgsql_user_name 
DB_PASSWORD=pgsql_pass



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire