From: rob stone <floriparob@gmail.com>
To: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Unable to connect to 9.5 via JDBC driver 1207
Date: Sat, 06 Feb 2016 04:35:46 +1100
Message-ID: <1454693746.4476.14.camel@gmail.com> (raw)
In-Reply-To: <n8v148$46d$1@ger.gmane.org>
References: <1454432904.2165.6.camel@gmail.com>
<n8qu0f$32m$1@ger.gmane.org>
<CADK3HHJMJ6n2CMQ2yJrasUg_5r08WdEGVWg2f-dcTTVfXnXWtQ@mail.gmail.com>
<n8qv5f$mcf$1@ger.gmane.org>
<CADK3HHKQiE_Ma8D5na+qyQRrKPcHWtBrkuSxSCEcjgqXQrZCGg@mail.gmail.com>
<10633.1454441931@sss.pgh.pa.us>
<n8r2gg$hln$1@ger.gmane.org>
<n8v148$46d$1@ger.gmane.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On Thu, 2016-02-04 at 09:11 +0100, Thomas Kellerer wrote:
> Thomas Kellerer schrieb am 02.02.2016 um 21:10:
> > I am currently not in the office, but I will see if I can reproduce
> > that tomorrow.
>
> I tried to reproduce this, but unfortunately I couldn't. And the
> server logs are also
> no longer available (being just a development/test database)
>
> One thing that might be interesting: the database was migrated from
> 9.4 to 9.5 using pg_upgrade
>
> As I can't reproduce this any longer, I'm fine with just disposing
> this as "probably a user error"
>
> Thomas
>
Hello Thomas,
Yes, it was just a "user error".
I'd compiled 9.5rc1 and was testing it out.
Weeks later I downloaded the deb binaries so as to have an "official"
version but overlooked pg_hba.conf changes.
Thus the JDBC connection failed.
So my understanding of this is that it looks up the IP address of
"localhost" and then trawls thru pg_hba.conf looking for an entry
containing that IP address, and if it exists, try the connection,
otherwise throw an error.
Cheers,
Robert
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: floriparob@gmail.com, spam_eater@gmx.net
Subject: Re: Unable to connect to 9.5 via JDBC driver 1207
In-Reply-To: <1454693746.4476.14.camel@gmail.com>
References: <1454432904.2165.6.camel@gmail.com> <n8qu0f$32m$1@ger.gmane.org> <CADK3HHJMJ6n2CMQ2yJrasUg_5r08WdEGVWg2f-dcTTVfXnXWtQ@mail.gmail.com> <n8qv5f$mcf$1@ger.gmane.org> <CADK3HHKQiE_Ma8D5na+qyQRrKPcHWtBrkuSxSCEcjgqXQrZCGg@mail.gmail.com> <10633.1454441931@sss.pgh.pa.us> <n8r2gg$hln$1@ger.gmane.org> <n8v148$46d$1@ger.gmane.org> <1454693746.4476.14.camel@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox