Re: psql: FATAL: password authentication failed for user "xxxx"

From: Steve Taylor <tayl0270(at)flinders(dot)edu(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: password authentication failed for user "xxxx"
Date: 2006-01-20 11:12:45
Message-ID: 1137755565.43d0c5add401c@imap.flinders.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I solved this, but it's still weird. I uninstalled again, this time deleting
the
windows user account that PostgreSQL created. So when I reinstalled everything
was ok.

Now I've realised that PostgreSQL is being very stupid about not allowing
logins
via psql from a windows administrator account. So I'm just running it as the
guest user. But I still don't understand why psql works when run in a windows
administrator account, but stops working as such when I add another user. This
has me really baffled. Can someone please enlighten me (and the rest of us)?
- Steve

Quoting Steve Taylor <tayl0270(at)flinders(dot)edu(dot)au>:

> Hi.
>
> I installed PostgreSQL 8.1.2 on Windows XP Pro. I started psql (via the
> start
> menu) and created a user. Then I exited psql using \q. Then I tried to start
> it
> again and got:
> psql: FATAL: password authentication failed for user "postgres"
> and the command window closed.
>
> I don't understand what is going on. Is this some kind of bug? I have
> searched
> the mailing list archives and found dozens upon dozens of people reporting
> this
> error message, but it's either for a different reason or where it's the same
> situation as mine, the message goes unreplied.
>
> The really weird thing is that I did a full uninstall (removed it in
> Add/Remove
> programs AND deleted the directory \Program Files\PostgreSQL) and now psql
> won't work AT ALL. I'm just trying to get started. I just want to create ONE
> table so I can play around with jdbc.
>
> Why the hell doesn't psql just startup and ask for a username and password?
> That
> makes so much sense that it will never happen.
>
> - Steve
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message P.Rizzi Ag.Mobilità Ambiente 2006-01-20 11:47:03 R: JDBC query creates a suspended Linux process
Previous Message Andrew - Supernews 2006-01-20 10:52:38 Re: SELECT Rules or stored procedure