From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Nuno Zimas <nzimas(at)gmail(dot)com> |
Cc: | John R Pierce <pierce(at)hogranch(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: user can't access own database after creation |
Date: | 2015-12-02 21:09:29 |
Message-ID: | CADK3HHJrr9bY9pN6CGYOMmtcv7570T401OgyQB0jwQJTABVU2w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Nuno,
Well postgresql.jar has to be the full path of the jar file, with the
correct name
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
On 2 December 2015 at 16:08, Nuno Zimas <nzimas(at)gmail(dot)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(at)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
>
> T: +44 20 3289 1162
> T: +351 244 204 857
>
> On 2 Dec 2015, at 20:39, Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
>
> java -cp postgresql.jar:./ TestUrl
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Nuno Zimas | 2015-12-02 21:15:36 | Re: user can't access own database after creation |
Previous Message | Nuno Zimas | 2015-12-02 21:08:30 | Re: user can't access own database after creation |