Skip site navigation (1) Skip section navigation (2)

Re: connection problem in postgresql

From: Luckys <plpgsql(at)gmail(dot)com>
To: "Majo George Cheruvathur" <majogeorges(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: connection problem in postgresql
Date: 2006-04-17 04:58:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
String url = "jdbc:postgresql://localhost/test";
Properties props = new Properties();
Connection conn = DriverManager.getConnection(url, props);

although there are different forms for the url connection string.

Do no forget to have the *.jar in your classpath.

You'd even like to look at this,

As rightly pointed out by Tom, please choose appropriate mailing list for
the respective problem,



In response to

pgsql-bugs by date

Next:From: Roberto CastroDate: 2006-04-17 19:01:21
Subject: syntax error
Previous:From: Tom LaneDate: 2006-04-17 02:52:18
Subject: Re: BUG #2386: pg_restore doesn't restore large objects

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group