Skip site navigation (1) Skip section navigation (2)

jdbc:postgress problem.

From: Vardan Gyurjyan <gurjyan(at)jlab(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: jdbc:postgress problem.
Date: 2002-01-16 22:05:34
Message-ID: 3C45F92E.BDF70CB9@jlab.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,
when I'm trying to access database from the remote host using  jdbc I'll
get following error message:

----------------------------------
PostgreSQL basic test v6.3 rev 1

Connecting to Database URL = jdbc:postgresql://polaris:5432/coda_lg_db
Exception caught.
Something unusual has occured to cause the driver to fail. Please report
this exception: Exception: java.sql.SQLException: No pg_hba.conf entry
for host 129.57.33.170, user coda, database coda_lg_db
Stack Trace:

java.sql.SQLException: No pg_hba.conf entry for host 129.57.33.170, user
coda, database coda_lg_db
        at org.postgresql.Connection.openConnection(Unknown Source)
        at org.postgresql.Driver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:517)
        at java.sql.DriverManager.getConnection(DriverManager.java:177)
        at basic.<init>(basic.java:37)
        at basic.main(basic.java:197)
End of Stack Trace

---------------------------

Please help me to solve this problem.
Thanking you in advance ,
vardan




pgsql-bugs by date

Next:From: Douglas TrainorDate: 2002-01-16 23:47:46
Subject: COPY when 'filename' is a directory
Previous:From: Marco GiardiniDate: 2002-01-16 17:34:27
Subject: postgres error on debian woody

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group