Skip site navigation (1) Skip section navigation (2)

Re: Problems using psql--Fatal password authentication failed

From: Guy Flaherty <naoshika(at)gmail(dot)com>
To: Kindra Martinenko <kindramart(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problems using psql--Fatal password authentication failed
Date: 2009-06-26 22:31:39
Message-ID: 23d251df0906261531i3803de4bx40da65a01fdcdda0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
On Sat, Jun 27, 2009 at 5:14 AM, Kindra Martinenko <kindramart(at)yahoo(dot)com>wrote:

> Thanks Guy--I'll try the datestyle thing, but ...
>
> Now, yet another problem I am having is being able to launch the psql
> command line.  It gives me a "FATAL: password authentication failed for User
> "Kindra".
>
> This is the first time I have even touched psql, I usually work straight
> from PGAdmin III. When I type this after the prompt, it just keeps returning
> the same error, although I can access PGAdmin III with this password?  I am
> confused.
>
> [command prompt line:\]psql U-Kindra
> password (trust level is set at md5): ******
> FATAL: password authentication failed for User "Kindra
>
>
> I launched the pg_hba.conf file, and attempted to set the trust level to
> "trust", however, Windows (being Windows)...would not allow me to save the
> .conf file? Does anyone have a workaround for FATAL password authentication
> errors and .conf file modification in a Windows environment?
>
> Thanks!
>
> Kindra
>

Hmm, I have no experience with psql on windows. I am assuming you are using
pgAdmin III on the server and not connecting to another machine. Perhaps you
need to specify the actual database you are connecting to with psql?  Maybe
try with -D to specify the database.

In response to

Responses

pgsql-novice by date

Next:From: Tom LaneDate: 2009-06-26 22:35:11
Subject: Re: Problems using psql--Fatal password authentication failed
Previous:From: Kindra MartinenkoDate: 2009-06-26 19:14:33
Subject: Problems using psql--Fatal password authentication failed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group