On Fri, May 25, 2007 at 01:56:54PM -0400, Roberto C. Sánchez wrote:
> On Fri, May 25, 2007 at 06:33:21PM +0200, csanyipal wrote:
> > 
> > /etc/postgresql/8.1/main/pg_hba.conf :
> > 
> > ------------------>
> > # Database administrative login by UNIX sockets                         
> > local all postgres ident sameuser
> > 
> > # TYPE  DATABASE USER CIDR-ADDRESS METHOD
> > 
> > # "local" is for Unix domain socket connections only
> > local all all ident sameuser
> > 
> > # IPv4 local connections:
> > host all all 127.0.0.1/32 md5
> > 
> > # IPv6 local connections:
> > host all all ::1/128 md5
> > 
> > # I edited this for tutos:                          
> > host  tutos   127.0.0.1  255.255.255.255   trust
> 
> Did you try this?
> 
> host  tutos www-data  127.0.0.1  255.255.255.255   trust

Yes,now  and after I edited the pg_hba.conf, I restarted postgresql too.

But I get the same error message:

Opening the database POSTGRES: [EMAIL PROTECTED]:5432 as www-data

Detail

DBerror: POSTGRES: [EMAIL PROTECTED]:5432 as www-data no connection

When I reconfigured tutos2 I give to www-data user an empty password 
(hit enter).

I added now my username to www-data group.

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to