Re: Help with JDBC connection...

From: Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>
To: Lachlan Deck <ldeck(at)tpg(dot)com(dot)au>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Help with JDBC connection...
Date: 2002-11-13 17:54:17
Message-ID: 20021113232728.B24443@cse.iitb.ac.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-novice

> Hi there,
>
> I'm running Postgresql 7.2.1 on Mac OS X 10.1.5 and can't connect via
> jdbc. Any help would be great. Thanks....
>
> I can connect without problems to the database via psql as in
> >psql dbname
>
> I have the following in pg_hpa.conf
> local
> all trust
> host all 192.168.1.0 255.255.255.0 trust

Did you try:

> host all 192.168.1.2 255.255.255.255 trust
(provided you are connecting from 192.168.1.2)
though a temporary work-around, but it could give some more info
where exactly the problem could be.
----
Varun

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Scott Lamb 2002-11-13 22:52:28 Re: setUseServerPrepare & typecasts
Previous Message Lachlan Deck 2002-11-13 17:29:15 Help with JDBC connection...

Browse pgsql-novice by date

  From Date Subject
Next Message Joel Rodrigues 2002-11-13 18:04:41 using functions to generate custom error messages
Previous Message Lachlan Deck 2002-11-13 17:29:15 Help with JDBC connection...