connecting postgresql and codeigniter

后端 未结 5 1994
北恋
北恋 2021-01-02 17:47

I\'m new using postgresql and I\'ve been using Codeigniter for a year.

I have a small postgresql database and I wanna call it from Codeigniter.

In my databas

5条回答
  •  耶瑟儿~
    2021-01-02 18:11

    I had the same problem. Try these steps

    1. don't remove dsn string add port=>5432 to your config array
    2. set dbdriver to 'dbdriver' => 'postgres'
    3. check your php.ini file if postgre extension is enabled or not extension=php_pdo_pgsql.dll

提交回复
热议问题