Re: psql - password authentication failed for user "singh09721" - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: psql - password authentication failed for user "singh09721"
Date
Msg-id 4C614B70020000250003443A@gw.wicourts.gov
Whole thread Raw
In response to psql - password authentication failed for user "singh09721"  (Gaurav Singh <singh09721@itc.nl>)
List pgsql-admin
Gaurav Singh <singh09721@itc.nl> wrote:

> The Postgres server is up and running but when I call psql it
> gives fatal error saying "password authentication failed for user
> singh09721".

You are probably not specifying a database user ID for psql to use,
so it is defaulting to your OS login ID.  Do you get in if you try?:

psql postgres postgres

You might want to browse through the documentation:

http://www.postgresql.org/docs/8.4/interactive/index.html

-Kevin

pgsql-admin by date:

Previous
From: Gaurav Singh
Date:
Subject: psql - password authentication failed for user "singh09721"
Next
From: Kasia Tuszynska
Date:
Subject: postgres function does not handle PUBLIC - expected?