From: Rich Shepard <rshepard@appl-ecosys.com>
To: List <pgsql-jdbc@postgresql.org>
Subject: Re: Questions on use
Date: Wed, 28 Dec 2016 08:44:30 -0800 (PST)
Message-ID: <alpine.LNX.2.11.1612280841430.30065@localhost> (raw)
In-Reply-To: <CAKFQuwauXz=yMLifau5xkxncy9Zy77nq6d_-xB_7B8PH=67Wdw@mail.gmail.com>
References: <alpine.LNX.2.11.1612280729040.30065@localhost>
<CAKFQuwauXz=yMLifau5xkxncy9Zy77nq6d_-xB_7B8PH=67Wdw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On Wed, 28 Dec 2016, David G. Johnston wrote:
> Should work. The 9.4 doesn't imply server compatability.
David,
Good. That's one less issue of concern.
> The default for PostgreSQL is to listen on Unix sockets. JDBC doesn't
> talk to Unix sockets - it only uses TCP/IP sockets. You need to configure
> the database to listen on an IP address and port and point to that. You
> also need to ensure pg_hba.conf and/or have a password on the user JDBC is
> using (changing to "trust" might work).
I modified /var/lib/pgsql/9.6/data/pg_hba.conf by adding a line with
hostnossl and 'trust' as the method. Reloaded postgres. While schemaSpy
still does not run the reason seems to be with it, not the driver.
Many thanks,
Rich
--
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: rshepard@appl-ecosys.com
Subject: Re: Questions on use
In-Reply-To: <alpine.LNX.2.11.1612280841430.30065@localhost>
References: <alpine.LNX.2.11.1612280729040.30065@localhost> <CAKFQuwauXz=yMLifau5xkxncy9Zy77nq6d_-xB_7B8PH=67Wdw@mail.gmail.com> <alpine.LNX.2.11.1612280841430.30065@localhost>
* 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