public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] DBI connect dbname=template1 failed Permission denied
  @ 2011-12-15  5:51 99%   ` Joseph
  0 siblings, 0 replies; 1+ results
From: Joseph @ 2011-12-15  5:51 UTC (permalink / raw
  To: gentoo-user

On 12/15/11 12:23, Pandu Poluan wrote:
>   On Dec 15, 2011 10:55 AM, "Joseph" <syscon780@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,

I did, it is identical to my other working systems:
local   all     all        trust

here are other details:

# psql -p 5432 -U postgres
psql (9.1.1)
Type "help" for help.

postgres=# 

Available PostgreSQL Slots
   9.1 *                      server-9.1.1 base-9.1.1

-- 
Joseph



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-15  3:54     [gentoo-user] DBI connect dbname=template1 failed Permission denied Joseph
2011-12-15  5:23     ` Pandu Poluan
2011-12-15  5:51 99%   ` Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox