From: Markus Schaber <schabi@logix-tt.com>
To: Christopher Bruhn <pandafisch@gmx.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem with Java-SQL connection, postgresql.conf file
Date: Fri, 15 Sep 2006 11:28:29 +0200
Message-ID: <450A723D.4060703@logix-tt.com> (raw)
In-Reply-To: <001b01c6d820$e51157f0$5e9fac51@chris>
References: <001b01c6d820$e51157f0$5e9fac51@chris>
Hi, Christopher,
Christopher Bruhn wrote:
> Moreover I searched for the postgresql.conf file but I could not find it
> among the files extracted from postgresql-8.2dev-503.jdbc3.jar.
> Can you tell me if I use the Driver in a wrong way, where I can find
> the postgresql.conf file and if I need to make changes in this file?
The postgresql.conf file is the main configuration file for the
PostgreSQL server. The exact place of installation depends on how the
Postmaster itsself is installed, but it is likely to be found in /etc or
the postgresql main cluster directory on unices.
If your postmaster is set up to only accept connections via unix
sockets, but not via TCP, then you have to change postgresql.conf and
pg_hba.conf. As all is on the same server, make him listen on 127.0.0.1
and allow access from there.
Btw, for testing, you can use command line access (if you have) and the
psql utility. If you can connect via "psql usr_web593_1", but not via
"psql -h localhost -p 5432 usr_web593_1" then postgresql does not accept
tcp connections via localhost.
Btw, it might also be that the server and client disagree on mandatory
SSL usage, but that likely leads to different exceptions.
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
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: schabi@logix-tt.com, pandafisch@gmx.de
Subject: Re: Problem with Java-SQL connection, postgresql.conf file
In-Reply-To: <450A723D.4060703@logix-tt.com>
References: <001b01c6d820$e51157f0$5e9fac51@chris> <450A723D.4060703@logix-tt.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