Re: user can't access own database after creation - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: user can't access own database after creation
Date
Msg-id CADK3HHJrr9bY9pN6CGYOMmtcv7570T401OgyQB0jwQJTABVU2w@mail.gmail.com
Whole thread Raw
In response to Re: user can't access own database after creation  (Nuno Zimas <nzimas@gmail.com>)
List pgsql-jdbc
Nuno,

Well postgresql.jar has to be the full path of the jar file, with the correct name


On 2 December 2015 at 16:08, Nuno Zimas <nzimas@gmail.com> wrote:
Hmmm, says no suitable driver found. Strange.
If the application I’m trying to deploy couldn’t see the JDBC driver, how would to even communicate with the pgsql backend? I mean, users can log in and create databases, but they can’t access them.
I’m puzzled.

root@aida2next /u/2next# java -cp postgresql.jar:./ TestUrl
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:postgresql://10.10.10.100
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at TestUrl.main(TestUrl.java:10)


Nuno Zimas
Systems Administrator & Web Developer


On 2 Dec 2015, at 20:39, Dave Cramer <pg@fastcrypt.com> wrote:

java -cp postgresql.jar:./ TestUrl


pgsql-jdbc by date:

Previous
From: Nuno Zimas
Date:
Subject: Re: user can't access own database after creation
Next
From: Nuno Zimas
Date:
Subject: Re: user can't access own database after creation