Re: help please

Поиск
Список
Период
Сортировка
От Guy Rouillier
Тема Re: help please
Дата
Msg-id 49614714.2000009@burntmail.com
обсуждение исходный текст
Ответ на help please  ("abhijeet dharurkar" <abhijeet.dharurkar@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "abhijeet dharurkar"
Дата:
Сообщение: help please
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: help please