Can't connect to postgresql using 'psql -d database -U user -W' - Mailing list pgsql-general

From ctobini
Subject Can't connect to postgresql using 'psql -d database -U user -W'
Date
Msg-id 1136446265.206388.6610@g14g2000cwa.googlegroups.com
Whole thread Raw
List pgsql-general
Hello,

I have a problem with postgresql 7.4 installed on Linux Ubuntu 5.04
(hoary).

I made an 'alter' command for my db users :

eg: alter user postgres with password 'postgres';
ALTER USER

but I can't connect to postgresql using :

tobini% psql -d template1 -U postgres -W
password: postgres
psql: FATAL:  IDENT authentication failed for user "postgres"

Do you have an idea about this problem ?

Thanks.

C. Tobini


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Problem with Starting server 7.4.10_1 on FreeBSD
Next
From: ptjm@interlog.com (Patrick TJ McPhee)
Date:
Subject: Re: Moving Tablespaces