pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to connect with JDBC to another machine ?
2+ messages / 2 participants
[nested] [flat]

* How to connect with JDBC to another machine ?
@ 1998-12-29 17:58 Constantin Teodorescu <teo@flex.ro>
  1998-12-29 20:10 ` Re: [INTERFACES] How to connect with JDBC to another machine ? Peter T Mount <peter@retep.org.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Constantin Teodorescu @ 1998-12-29 17:58 UTC (permalink / raw)
  To: pgsql-interfaces

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' ?

TIA
-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] How to connect with JDBC to another machine ?
  1998-12-29 17:58 How to connect with JDBC to another machine ? Constantin Teodorescu <teo@flex.ro>
@ 1998-12-29 20:10 ` Peter T Mount <peter@retep.org.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter T Mount @ 1998-12-29 20:10 UTC (permalink / raw)
  To: Constantin Teodorescu <teo@flex.ro>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-12-29 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-12-29 17:58 How to connect with JDBC to another machine ? Constantin Teodorescu <teo@flex.ro>
1998-12-29 20:10 ` Peter T Mount <peter@retep.org.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox