Re: jdbc connection string

From: Bhushan Bhangale <bbhangale(at)Lastminute(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc connection string
Date: 2004-01-27 18:18:23
Message-ID: C9590F897BFAD7119E63000BCD6820837BCAED@lmnukpriv.lastminute.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Thanks Kris,

But I am looking for a connection string for postgres in which I can specify
username and password as well.

-----Original Message-----
From: Kris Jurka [mailto:books(at)ejurka(dot)com]
Sent: 27 January 2004 17:19
To: Bhushan Bhangale
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] jdbc connection string

On Tue, 27 Jan 2004, Bhushan Bhangale wrote:

> Hi All,
>
> I serached the archives but couldn't find what I am looking for. I am new
to
> postgres. I want to know connection string which I need to connect to
> postgres database using jdbc.
>
> In informix I do
>
>
jdbc:informix-sqli://devdb:12000/dcslive:INFORMIXSERVER=devdbv2;USER=bb;PASS
> WORD=bb;OPTOFC=1
>

http://www.postgresql.org/docs/current/static/jdbc-use.html#JDBC-CONNECT

Kris Jurka

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-01-27 18:37:54 Re: Patch to readd documentation
Previous Message Kris Jurka 2004-01-27 18:07:00 Re: getting primary key values for inserted records?