Re: [OT] Re: installing tutos2
- From: csanyipal <csanyipal@xxxxxxxxxxxxxxx>
- Date: Fri, 25 May 2007 20:24:58 +0200
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: tutos@localhost:5432 as www-data
Detail
DBerror: POSTGRES: tutos@localhost: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 debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: [OT] Re: installing tutos2
- From: Roberto C. Sánchez
- Re: [OT] Re: installing tutos2
- References:
- installing tutos2
- From: csanyipal
- Re: installing tutos2
- From: Jose Luis Rivas Contreras
- Re: installing tutos2
- From: csanyipal
- Re: installing tutos2
- From: Roberto C. Sánchez
- Re: installing tutos2
- From: csanyipal
- [OT] Re: installing tutos2
- From: Roberto C. Sánchez
- Re: [OT] Re: installing tutos2
- From: csanyipal
- Re: [OT] Re: installing tutos2
- From: Roberto C. Sánchez
- Re: [OT] Re: installing tutos2
- From: csanyipal
- Re: [OT] Re: installing tutos2
- From: Roberto C. Sánchez
- installing tutos2
- Prev by Date: Re: Remove gnome-games
- Next by Date: Re: [semi-OT] Data archiving (was Re: Query on adding a USB hdd)
- Previous by thread: Re: [OT] Re: installing tutos2
- Next by thread: Re: [OT] Re: installing tutos2
- Index(es):
Relevant Pages
|