M
M
Maxim2021-01-11 11:57:51
PostgreSQL
Maxim, 2021-01-11 11:57:51

How to resolve Laravel + Postgree error?

registered settings

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=florachaing
DB_USERNAME=homestead
DB_PASSWORD=secret

issues

php artisan migrate:install

   Illuminate\Database\QueryException 

  SQLSTATE[08006] [7] FATAL:  database "florachaing" does not exist (SQL: create table "migrations" ("id" serial primary key not null, "migration" varchar(255) not null, "batch" integer not null))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question