Re: help please

From: Guy Rouillier <guyr-ml1(at)burntmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: help please
Date: 2009-01-04 23:32:36
Message-ID: 49614714.2000009@burntmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

abhijeet dharurkar wrote:
>
> session setup failed
> all setings are correct but while running the program from command line
> it gives the error.......
> DriverManager.getConnection("jdbc:postgresql:post","postgres","abhi");

That URL doesn't look right. Here is one that works:

jdbc:postgresql://localhost:5432/postgres

Maybe some of the fields default if not provided. If the URL is not
your issue, then provide the database version and the exact version of
the JDBC driver JAR file you are using.

--
Guy Rouillier

In response to

  • help please at 2009-01-04 04:34:17 from abhijeet dharurkar

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-01-05 04:37:33 Re: help please
Previous Message abhijeet dharurkar 2009-01-04 04:34:17 help please