Re: Problems using psql--Fatal password authentication failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Guy Flaherty <naoshika(at)gmail(dot)com>
Cc: Kindra Martinenko <kindramart(at)yahoo(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Problems using psql--Fatal password authentication failed
Date: 2009-06-26 22:35:11
Message-ID: 10531.1246055711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Guy Flaherty <naoshika(at)gmail(dot)com> writes:
> On Sat, Jun 27, 2009 at 5:14 AM, Kindra Martinenko <kindramart(at)yahoo(dot)com>wrote:
>> 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".
>>
>> [command prompt line:\]psql U-Kindra
>> password (trust level is set at md5): ******
>> FATAL: password authentication failed for User "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.

I'm wondering what the *actual* username is (we see three different
renderings of it above), and whether it contains any funny characters
that pgAdmin will quote for you but cause trouble on a shell command
line.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message ANdreas Wenk 2009-06-27 12:43:14 Re: Full Text Search - Influenceing the creation of tsvector
Previous Message Guy Flaherty 2009-06-26 22:31:39 Re: Problems using psql--Fatal password authentication failed