On Dec 15, 2011 10:55 AM, "Joseph" <syscon...@gmail.com> wrote: > > I have postgresql up and running but when I try to connect via apache to postgresql I get an error: > > [error] [client 127.0.0.1] DBI connect('dbname=template1','sql-ledger',...) failed: could not connect to server: Permission denied, referer: http://localhost/sql-ledger/admin.pl > > Anybody knows what to look for? > > -- > Joseph >
Check pg_hba.conf Rgds,