Yes, the driver defaults to 5432 if the port is absent, and localhost if
the host is absent.
Peter
--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.
-----Original Message-----
From: Herouth Maoz [mailto:herouth@oumail.openu.ac.il]
Sent: 13 July 1999 09:15
To: Doug Thistlethwaite; pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] JDBC connection problem while trying
example.basic
At 01:31 +0300 on 13/07/1999, Doug Thistlethwaite wrote:
> Connecting to Database URL = jdbc.postgresql://dragon:5432/doug
This should be "jdbc:postgresql" - a colon, not a period. And I think
you
can drop the port number since it is the default for Postgres.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma