Welcome Guest, Not a member yet? Register   Sign In
problem with postgres

Hi mkdigital,

codeigniter tries to connect to your database via a tcp socket. Most linux distributions configure PostgreSQL in a way that it doesn't listen to the network socket - that might be one problem. Next up: even if PostgreSQL is started with the "-i" switch, you will have to configure pg_hba.conf (in the "data"-directory) to allow connections from your codeignited host (localhost i guess). For details on how to grant access for a specific user/ip to a database have a look in PostgreSQLs documentation

Hope this helps,

[Edited 20080701 15:37: removed typo in URL]

Messages In This Thread
problem with postgres - by El Forum - 06-30-2008, 12:08 PM
problem with postgres - by El Forum - 07-01-2008, 07:36 AM

Theme © iAndrew 2016 - Forum software by © MyBB