Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

ignore TCP/IP question



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 it.
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.

Tom
MMI Shared Resource Facility
503-494-2442
kellert at ohsu.edu





Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group