Re: [INTERFACES] How to connect with JDBC to another machine ?

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] How to connect with JDBC to another machine ?
Дата
Msg-id Pine.LNX.4.04.9812292009540.8386-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на How to connect with JDBC to another machine ?  (Constantin Teodorescu <teo@flex.ro>)
Список pgsql-interfaces
On Tue, 29 Dec 1998, Constantin Teodorescu wrote:

> It may be a silly question, but ...
>
> How do I specify in Java that JDBC should getConnection with a
> PostgreSQL running on another machine ?
> Something like 'host:port:jdbc:postgresql:database' ?

Close ;-)

jdbc:postgresql://host/database

or

jdbc:postgresql://host:port/database

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


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

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: How to connect with JDBC to another machine ?
Следующее
От: Peter T Mount
Дата:
Сообщение: New version of JDBC driver