Re: DBI::Pg
Andrew Dunstan <[email protected]> Thu, 10 Nov 2011 18:25:34 -0500
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
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