Re: user can't access own database after creation

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: user can't access own database after creation
Дата
Msg-id CADK3HHJrr9bY9pN6CGYOMmtcv7570T401OgyQB0jwQJTABVU2w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: user can't access own database after creation  (Nuno Zimas <nzimas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Nuno Zimas
Дата:
Сообщение: Re: user can't access own database after creation
Следующее
От: Nuno Zimas
Дата:
Сообщение: Re: user can't access own database after creation