Well, I investigated the cgi script using DBI and DBD::Pg that was
giving the error and discovered the connection string was the problem.
This is still curious, and I'd like to know why but I was able to fix
Here's the old $dsn variable: ## this gave the "can't connect" error.
my $dsn = 'dbi:Pg:dbname=db_name;host=server_name';
This fixed the problem:
my $dsn = 'dbi:Pg:dbname=db_name';
So maybe there is something not quite right in my pg_hba.conf file. ??
thanks for any insights.
MMI Shared Resource Facility
kellert at ohsu.edu
pdxpug by date
|Next:||From: Selena Deckelmann||Date: 2008-03-02 18:36:15|
|Subject: Re: ignore TCP/IP question|
|Previous:||From: Thomas Keller||Date: 2008-03-01 21:08:42|
|Subject: TCP/IP connection|