Re: Why can't I change a password <SOLVED>

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Steve Litt <slitt(at)troubleshooters(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Why can't I change a password <SOLVED>
Date: 2011-01-16 21:48:11
Message-ID: 4D33679B.6040503@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 16/01/2011 21:39, Steve Litt wrote:
> On Sunday 16 January 2011 16:02:12 Raymond O'Donnell wrote:
>
>> If you have configured PG to listen on a TCP/IP port (5432 by default),
>> you can also do:
>>
>> psql -U postgres -h localhost super
>>
>> Ray.
>
> Thanks Ray,
>
> My psql seems a lot different from others. Loook what happened:
>
> slitt(at)mydesk:~$ psql -U postgres -h localhost super
> Password for user postgres:
> psql: FATAL: password authentication failed for user "postgres"
> FATAL: password authentication failed for user "postgres"
> slitt(at)mydesk:~$ psql -U postgres -h 127.0.0.1 super
> Password for user postgres:
> psql: FATAL: password authentication failed for user "postgres"
> FATAL: password authentication failed for user "postgres"
> slitt(at)mydesk:~$
>
> My postgresql.conf configures the port at 5433 instead of 5432, so I also
> tried this:
>
> slitt(at)mydesk:~$ psql -U postgres -h localhost -p 5433 super
> Password for user postgres:
> psql: FATAL: password authentication failed for user "postgres"
> FATAL: password authentication failed for user "postgres"
> slitt(at)mydesk:~$

Well that's interesting - some instance of PostgreSQL is listening on
port 5432, as well as 5433.

However, you're apparently supplying an incorrect password for user
"postgres", as per the error message. Your psql is no different to
anyone else's; that's a normal error message.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Litt 2011-01-16 21:49:43 Re: Why can't I change a password <SOLVED>
Previous Message Andrus Moor 2011-01-16 21:44:08 Re: How to generate unique invoice numbers for each day