Can someone tell me what is wrong with this statement?
$dbh = DBI-connect(dbi:Pg:tracker;host=bullwinkle;port=5432;,,);
DBI-connect(tracker;host=131.204.12.48;port=5432;) failed: 1 at ./tracker2.pl line 16
Thanks,
Stephen
Use trace() to find out the exact reason for connect failing.
Ilya Sterin
-Original Message-
From: Stephen M. Ford
To: [EMAIL PROTECTED]
Sent: 05/07/2001 9:58 AM
Subject: dbd::Pg again
Can someone tell me what is wrong with this statement?
$dbh = DBI-connect(dbi:Pg:tracker;host
On Mon, 7 May 2001, Stephen M. Ford wrote:
Can someone tell me what is wrong with this statement?
$dbh = DBI-connect(dbi:Pg:tracker;host=bullwinkle;port=5432;,,);
DBI-connect(tracker;host=131.204.12.48;port=5432;) failed: 1 at ./tracker2.pl line
16
It should be dbi:Pg:dbname=tracker...
To: [EMAIL PROTECTED]
Sent: 05/07/2001 9:58 AM
Subject: dbd::Pg again
Can someone tell me what is wrong with this statement?
$dbh = DBI-connect(dbi:Pg:tracker;host=bullwinkle;port=5432;,,);
DBI-connect(tracker;host=131.204.12.48;port=5432;) failed: 1 at
./tracker2.pl line 16
Thanks
- Original Message -
From: Stephen M. Ford [EMAIL PROTECTED]
Subject: dbd::Pg again
Can someone tell me what is wrong with this statement?
$dbh = DBI-connect(dbi:Pg:tracker;host=bullwinkle;port=5432;,,);
DBI-connect(tracker;host=131.204.12.48;port=5432;) failed: 1 at
./tracker2.pl line
- Original Message -
From: Stephen M. Ford [EMAIL PROTECTED]
To: Sterin, Ilya [EMAIL PROTECTED]
Subject: RE: :Pg again
I changed the $dbh line to
my $dbh =
DBI-connect(dbi:Pg:dbname=tracker;host=bullwinkle.eng.auburn.edu;port=5432
;,,);
and added a dbh-trace(4) and got the following