Laravel 5 with Postgres SQL

前端 未结 7 1453
深忆病人
深忆病人 2020-12-31 02:56

I’m working on Laravel 5 with postgres as database. I’ve configured postgres 9.4 and pgAdmin III and these are working normally. When I try to run migrate it is giving me e

7条回答
  •  臣服心动
    2020-12-31 03:23

    Like @jeff said, this is probably caused by not setting DB_CONNECTION=pgsql in the .env-file. The .env-file has MySQL preconfigured, so you must edit this file.

提交回复
热议问题