Can't connect to postgresql using 'psql -d database -U user -W'

From: "ctobini" <ctemp2(at)free(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Can't connect to postgresql using 'psql -d database -U user -W'
Date: 2006-01-05 07:31:05
Message-ID: 1136446265.206388.6610@g14g2000cwa.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Klint Gore 2006-01-05 07:35:10 Re: Putting restrictions on pg_dump?
Previous Message Tony Wasson 2006-01-05 07:10:47 Monitoring PostgreSQL connections using cricket and pg_stat_activity