Re: help please - Mailing list pgsql-jdbc

From Guy Rouillier
Subject Re: help please
Date
Msg-id 49614714.2000009@burntmail.com
Whole thread Raw
In response to help please  ("abhijeet dharurkar" <abhijeet.dharurkar@gmail.com>)
List 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

pgsql-jdbc by date:

Previous
From: "abhijeet dharurkar"
Date:
Subject: help please
Next
From: Kris Jurka
Date:
Subject: Re: help please