From: | Nuno Zimas <nzimas(at)gmail(dot)com> |
---|---|
To: | Dave Cramer <pg(at)fastcrypt(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:08:30 |
Message-ID: | DEEBA6E2-8324-44CF-8D8C-BD9411B8E6F4@gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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 | Dave Cramer | 2015-12-02 21:09:29 | Re: user can't access own database after creation |
Previous Message | Nuno Zimas | 2015-12-02 21:00:36 | Re: user can't access own database after creation |