Andreas,

Not to go too far out of the scope of this list, but what does your connection
code look like?  are you trying to import the driver via an "import" statement
(don't do this).  Also, did you build the JDBC driver for JDK 1.1, or JDK1.2,
there's some documentation in the source directory about how to do this--you
should be building for 1.1.  (note--jdk1.2.2 is out for Linux from Sun, and it
seems to work quite well for me -- using jsp and servlets)

-Jason






Andreas Jerke <[EMAIL PROTECTED]> on 03/16/2000 03:41:12 PM

Please respond to "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>


To:   "PGSQL-General (E-mail) (E-Mail)" <[EMAIL PROTECTED]>
cc:
bcc:


Subject:  [GENERAL] Postgres JDBC Connection



Hello Postgres User,

I can not get a DataBase Connection over JDBC.
I have configured the pg_hba.conf (host all 127.0.0.1 255.255.255.255 trust),
so
that all local processes like Jserv are able to connect to the DB over TCP/IP.
I have installed the latest JDBC driver  and JAVA finds the
class postgresql.Driver. But when I try to connect to the DB, I allways get:

SQLExeption: No suitable driver
SQLSTate: 08001
VendorError: 0

mmhhh. Perhaps my postgres is not supported bei JDBC ?

My System:

SuSE 6.3
JDK 1.1.7
JDBC: jdbc6.5-1.1.jar ---> does this mean: postgres 6.5.X and jdk 1.1.X ??
Postgres: postgresql-6.5.3.tar.gz

I read serveral FAQ's but could not
fix my problem.

thanks for reading,

Andreas








Reply via email to