Re: No suitable driver error trying to connect to postgresql

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: No suitable driver error trying to connect to postgresql
Дата
Msg-id Pine.BSO.4.56.0408061106390.11823@leary.csoft.net
обсуждение исходный текст
Ответ на No suitable driver error trying to connect to postgresql from jdeveloper  (syg6@yahoo.com (Robert Bowen))
Список pgsql-jdbc

On Fri, 6 Aug 2004, Robert Bowen wrote:

> Anyone have this problem? Usually it is because of a classpath error
> but I have copied my jar file(s) into the jdeveloper/jdbc/lib
> directory (where the oracle jdbc drivers are ...) and tried the
> following:
>
> url : localhost:5432 (this works in pgAdmin)
>

pgAdmin is not a java client, so there are a number of differences.  I
imagine you want a url of the form

jdbc:postgresql://localhost:5432/mydatabase

also a JDBC connection requires tcpip sockets enabled on the server and
access allowed in pg_hba.conf which pgAdmin doesn't necessarily need.

Finally you haven't given any error messages so the above is just
speculation.

Kris Jurka

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Problems with charsets, investigated...
Следующее
От: Jose Miguel Madinaveitia Ramirez
Дата:
Сообщение: Problems with big tables.