Re: Password authentication working with psql, but fails with jdbc for me

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Password authentication working with psql, but fails with jdbc for me
Date: 2003-09-19 15:07:17
Message-ID: 19705.1063984037@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk> writes:
> On 18/09/2003 21:33 Gerald Dalley wrote:
>>> I'm sure it must just some simple configuration error as I've been
>>> successfully connecting with userid/password since version 7.1.
>>
>> Agreed. I'm just having trouble thinking of what else to try.

> Maybe use something like tcpdump to see exactly what is being sent across?

Good thought. Also, try looking in the server log (postmaster's stderr
or syslog output). In some cases more details about an authorization
failure appear in the log than are told to the client.

regards, tom lane

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Xavier Poinsard 2003-09-19 15:31:10 Parse problem in AbstractJdbc2ResultSet.parseQuery
Previous Message Gerald Dalley 2003-09-19 14:11:32 Re: Password authentication working with psql, but fails with jdbc for me