Problem connecting postgresql with laravel

0

I have a problem to make the connection between laravel and postgresql, in the .env file for the part of the database I have the following data:

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5433
DB_DATABASE=candyucab
DB_USERNAME=admin
DB_PASSWORD=123456

I have already created the database from pgadmin, and I have verified that the data in the .env file is correctly written.

At the moment of executing the php artisan migrate command in the terminal I get the following result:

Also in the php.ini file I deleted the comments for the

section
extension=pdo_pgsql
extension=pgsql

Could someone give me a clue as to what the problem is?

    
asked by Pedro Fumero 04.06.2018 в 02:34
source

0 answers