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

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 (view raw or flat)
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

pgsql-jdbc by date

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

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