Re: PSQLException: FATAL: password authentication failed for user "XXX"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pawel_kukawski <kukismen(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PSQLException: FATAL: password authentication failed for user "XXX"
Date: 2013-04-26 16:38:10
Message-ID: 13628.1366994290@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

pawel_kukawski <kukismen(at)gmail(dot)com> writes:
> I have experienced authentication problems after applying a security
> patch(147440-09) to Solaris 10.

> PostgreSQL 9.2.1
> JDBC: 9.2 1002

> I got the following exception during startup of my application:
> Caused by: org.postgresql.util.PSQLException: FATAL: password authentication
> failed for user "XXX"

You might try looking into the postmaster log to see what the server
logged about it --- the log entries are frequently more verbose than
what the client got told. Also, if the problem isn't immediately
obvious from the log entry, try turning on log_connections to verify
that the JDBC app is connecting with the database+username and from
the IP address that you're expecting.

regards, tom lane

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message pawel_kukawski 2013-04-29 09:51:06 Re: PSQLException: FATAL: password authentication failed for user "XXX"
Previous Message Heikki Linnakangas 2013-04-26 16:05:00 Re: PSQLException: FATAL: password authentication failed for user "XXX"