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

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Amandeep Jawa" <deep(at)worker-bee(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [Q] Can't get simple JDBC connection to work: "no suitable driver"
Date: 2001-10-12 16:32:43
Message-ID: NEBBLAAHGLEEPCGOBHDGMEFPDMAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


> Connection conn = DriverManager.getConnection(
> "jdbc:postgres:test",
> "postgres",
> "notreallymypassword"
>

I think it's just that the url should be jdbc:postrgesql:text (add the "ql")

-Nick
--------------------------------------------------------------------------
Nick Fankhauser nickf(at)ontko(dot)com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Danny Zhou 2001-10-12 18:53:44 Bug Report
Previous Message Liam Stewart 2001-10-12 15:33:57 Re: [Q] Can't get simple JDBC connection to work: "no suitable driver"