Migrating from mysql to postgresql in code igniter
Add these settings with postgres
$db['default']['hostname'] = 'localhost';$db['default']['username'] = 'postgres'; # Mysql name$db['default']['password'] = 'myPass23'; # Mysql password$db['default']['database'] = 'mydb'; # databse name$db['default']['dbdriver'] = 'postgre'; # chnage this
Some Useful link