reg:"Driver Not found-error"- need u r suggestions

From: rajesh kumar <rajeshrv15(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: reg:"Driver Not found-error"- need u r suggestions
Date: 2003-08-20 17:16:55
Message-ID: 20030820171655.73293.qmail@web14702.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

hello sir,
When I am trying to connect my pgsql with jdbc, getConnection throws the exception "Driver not found for the URL jdbc:postgresql:testdb".
I am using the jdk 1.3.1 and my code goes like this
'Class.forName("org.postgresql.Driver");
Connection con = DriverManager.getConnection("jdbc:postgresql:testdb","root","passwd");
here
"testdb" refers to database name,
"root" refers to username and
"passwd" refers to userpassword.
I had tried with these following jdbc drivers pg72jdbc1.jar,pg73jdbc2.jar,pg72jdbc2.jar from
postgresql.org (postgresql jdbc downloads.htm).I had tried each one of these drivers by setting one in the classpath.
I hope u can help me to fix this error.
thankyou.
with regards:
Rajesh Kumar.

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Browse pgsql-jdbc by date

  From Date Subject
Next Message rajesh kumar 2003-08-20 17:17:01 reg:"Driver Not found-error"- need u r suggestions
Previous Message Paul Thomas 2003-08-20 14:55:56 Re: problem to found postgresql-jdbcX.Y.X.jar