Re: [Q] Can't get simple JDBC connection to work: "no suitable driver"

From: Brent Verner <brent(at)rcfile(dot)org>
To: Amandeep Jawa <deep(at)worker-bee(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [Q] Can't get simple JDBC connection to work: "no suitable driver"
Date: 2001-10-12 07:58:13
Message-ID: 20011012035813.A94603@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 11 Oct 2001 at 16:28 (-0700), Amandeep Jawa wrote:
| (PLEASE email any replies to me directy as well as posting)

try the conn url below.

| System.out.println("Loaded Driver.");
| Connection conn = DriverManager.getConnection(
| "jdbc:postgres:test",

"jdbc:postgresql://localhost/test"

| "postgres",
| "notreallymypassword"
| );

hth.
brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Wallace 2001-10-12 08:03:06 Java classes
Previous Message Joe Shevland 2001-10-12 06:06:39 Re: [Q] Can't get simple JDBC connection to work: "no suit