Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
Hello all, I’m trying to access a postgres database through a java application (tomcat). This is the only entry I have in pg_hba.conf # TYPE DATABASE USER ADDRESS METHODhostssl all all 127.0.0.1/32 cert and put the certicate (from /var/lib/postre…../coord/server.crt) in the cacerts under $JAVA_HOME/……. This is my jdbc URL….jdbc:postgresql://localhost:5432/testdb&ssl=true But When I try to create a datasource on tomcat, I get the following error…“Connection attempt failed: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "progres-xc", database "testdb&ssl=true", SSL off” Any help is greatly appreciated. -maz
Hello all,
I’m trying to access a postgres database through a java application (tomcat). This is the only entry I have in pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD
hostssl all all 127.0.0.1/32 cert
and put the certicate (from /var/lib/postre…../coord/server.crt) in the cacerts under $JAVA_HOME/…….
This is my jdbc URL….
jdbc:postgresql://localhost:5432/testdb&ssl=true
But When I try to create a datasource on tomcat, I get the following error…
“Connection attempt failed: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "progres-xc", database "testdb&ssl=true", SSL off”
Any help is greatly appreciated. -maz
-maz
В списке pgsql-jdbc по дате отправления: