|
The following is the code I am trying to exeute just to test if i could connect to pg:
=================
use DBI;
use strict;
use warnings;
my $dbh = DBI->connect( 'DBI:Pg:dbname=DBNAME','USERNAME','PASSWORD');
$dbh->disconnect;
=================
I tried re-installing perl/postgres/and DBD-Pg.ppd several times but still encounter the following
+error description:
=================
DBI connect('dbname=Book','typhoonsu',...) failed: could not create socket: Address family not supp
+orted (0x0000273F/10047) at testdbconn.pl line 3
=================
what is wrong?
|