Re: jdbc pg_hba.conf error
От | Bhavana.Rakesh |
---|---|
Тема | Re: jdbc pg_hba.conf error |
Дата | |
Msg-id | 465DA233.4030607@noaa.gov обсуждение исходный текст |
Ответ на | jdbc pg_hba.conf error ("Bhavana.Rakesh" <Bhavana.Rakesh@noaa.gov>) |
Список | pgsql-general |
I used the example in the following URL
http://www.postgresql.org/docs/7.3/static/client-authentication.html
Thanks for the catch on "host" instead of "local". I made that change, and reloaded pgsql.. But I still get the same error. I can connect to the database using psql client, but my java connection seems to be failing.
Oliver Elphick wrote:
http://www.postgresql.org/docs/7.3/static/client-authentication.html
Thanks for the catch on "host" instead of "local". I made that change, and reloaded pgsql.. But I still get the same error. I can connect to the database using psql client, but my java connection seems to be failing.
Oliver Elphick wrote:
On Wed, 2007-05-30 at 11:47 -0400, Bhavana.Rakesh wrote:Hello, I'm still getting the error...Here is my updated version of pg_hba.conf file __________________________________________________________________________ # # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD host all all trustThat line is missing the IP-address and IP-mask parameters. It looks as if the first word should be "local" rather than "host", in which case it would be valid. Using this pg_hba.conf ought to give you the message:FATAL: missing or erroneous pg_hba.conf file if you try to connect from psql. I don't know if the Java stuff somehow manages to bypass it or if you haven't done a kill -SIGHUP of the postmaster to reload the configuration.
В списке pgsql-general по дате отправления: