develooper Front page | perl.dbd.pg | Postings from November 2011

Re: DBI::Pg

Thread Previous
From:
Andrew Dunstan
Date:
November 10, 2011 15:25
Subject:
Re: DBI::Pg
Message ID:
4EBC5D6E.6000201@dunslane.net


On 11/10/2011 12:33 PM, John Arnold wrote:
> Gentlemen
>
> I am having a little connectivity issue, that I think might be PostgreSQL related  and not DBI::Pg per se (but I have to start somewhere :) )
>
> The error: seems to indicate a local issue rather than a remote issue. Why is the script looking for a local pg_hba.conf file?
>
> DBI connect('dbname=taskman;host=xx.xxx.xx.xx;port=5432','postgres',...) failed: FATAL:  could not load pg_hba.conf at C:/Documents and Settings/xxxxxxx/workspace/Forms/pg_connect.pl
>
> seems to indicate a local issue rather than a remote issue. Why is the script looking for a local pg_hba.conf file, since this conf file controls client connections on the SERVER side?
>
> Thoughts?
>
>
>

This part:

    FATAL:  could not load pg_hba.conf


is from the server. The rest is from the client. Find out what's wrong 
with the server's pg_hba.conf file. This is not a DBD::Pg issue.

cheers

andrew





Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About