Your problem probably has nothing to do with Postgres. It looks like your
java program cannot find the driver classes. Make sure that the driver is in
your classpath. If you are using Apache+Jserv, add the driver to Jserv's
classpath as well.


> 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