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

Re: Connect via odbc from Windows to Linux

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: brucejhyatt(at)yahoo(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org, John R Pierce <pierce(at)hogranch(dot)com>
Subject: Re: Connect via odbc from Windows to Linux
Date: 2008-12-02 02:03:11
Message-ID: 4934975F.9090307@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Bruce Hyatt wrote:
> --- On Mon, 12/1/08, Oliver Jowett <oliver(at)opencloud(dot)com> wrote:
> 
>> Bruce Hyatt wrote:
>>
>>> This is what I tried initially and it returns:
>>> SQL Error: java.sql.SQLException: No suitable driver
>> found for jdbc:postgresql://host/database 0 08001
>>
>> Have you followed the instructions here?
>>
>> http://jdbc.postgresql.org/documentation/head/load.html
>>
>> -O
> 
> I had commented out that line because the Java SE 6 API documentation for class DriverManager says it's no longer necessary but when I add it back in I get:

You commented out what line?

> Error: java.lang.ClassNotFoundException: org.postgresql.Driverorg.postgresql.Driver

You have the wrong classname.

-O

In response to

Responses

pgsql-jdbc by date

Next:From: Bruce HyattDate: 2008-12-02 02:40:37
Subject: Re: Connect via odbc from Windows to Linux
Previous:From: Bruce HyattDate: 2008-12-02 01:49:43
Subject: Re: Connect via odbc from Windows to Linux

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