Re: psql: FATAL: Password authentication failed for

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Sudhakar Kurumella <kurumella(at)yahoo(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: FATAL: Password authentication failed for
Date: 2004-09-21 12:52:18
Message-ID: 1095771138.1556.68.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Use psql -U postgres

Dave
On Tue, 2004-09-21 at 07:38, Sudhakar Kurumella wrote:
> Hi,
>
> I am using postgresql windows based "8.0-beta2-dev3". I have provided
> default user and password while installing. When i am trying to
> connecto to psql through dos command prompt, i am getting following
> error:
>
> [D:\Postgresql\8.0-beta2-dev3\bin]psql
> psql: FATAL: Password authentication failed for user "Administrator"
>
> I dont have user named "Administrator", i have only user "postgres"
> and my "pg_hba.conf" details are:
>
> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> local all postgres md5
> # IPv4-style local connections:
> host all all 127.0.0.1/32 md5
> # IPv6-style local connections:
> #host all all ::1/128 md5
>
> My question is how to connect postgres through the dos command prompt,
> to use commands such as pg_dump etc..
>
> thanks,
> kuru
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
Dave Cramer
519 939 0336
ICQ # 14675561
www.postgresintl.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sudhakar Kurumella 2004-09-21 12:58:25 Re: psql: FATAL: Password authentication failed for
Previous Message D'Arcy J.M. Cain 2004-09-21 11:40:05 PostgreSQL 7.4 runs slower than 7.3