Re: postgresql SSL off

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: postgresql SSL off
Дата
Msg-id 42D449A5.6030200@commandprompt.com
обсуждение исходный текст
Ответ на postgresql SSL off  (Tony Smith <quickcur@yahoo.com>)
Список pgsql-general
Tony Smith wrote:
> When I was trying to connect my databse with jdbc, I
> got the following error message:
>
> org.postgresql.util.PSQLException: Connection
> rejected: FATAL: no pg_hba.conf entry for host
> "mydomain", user "xxxx", database "myDB", SSL off.
>

You need to setup your pg_hba.conf to allow remote connections to
the database for the user.

http://www.postgresql.org/docs/7.4/static/client-authentication.html


Sincerely,

Joshua D. Drake



> When I run in dos console "psql myDB..." it works
> fine.
>
> My jdbc code is at a different at different domain
> from the database machine.
>
> Thanks,
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> http://info.mail.yahoo.com/mail_250
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org


--
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

В списке pgsql-general по дате отправления:

Предыдущее
От: "TJ O'Donnell"
Дата:
Сообщение: user privilege to create c function
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: user privilege to create c function