DBI->connect Error
- From: matt@xxxxxxxxxxxxx (Matt Skubiszewski)
- Date: Thu, 15 May 2008 14:13:37 -0700
A very simple script:
#!/usr/bin/perl -w
use strict;
use DBI;
my $dbname = "test";
my $host = "localhost";
my $user = "postgres";
my $pass = "postgres";
my $dsn = "DBI:Pg:dbname=$dbname";
my $conn = DBI->connect($dsn, $user, $pass);
Here is the error:
install_driver(Pg) failed: DBD::Pg object version undef does not match
bootstrap parameter 2.6.1 at
/usr/lib/perl5/5.8.8/i586-linux-thread-multi/DynaLoader.pm line 253.
Compilation failed in require at (eval 3) line 3.
at ./dbtest.pl line 11
Perl version v5.8.8
-Matt
.
- Follow-Ups:
- Re: DBI->connect Error
- From: Greg Sabino Mullane
- Re: DBI->connect Error
- From: Colin Wetherbee
- Re: DBI->connect Error
- Prev by Date: Re: DBD::ODBC and cancel()
- Next by Date: DBD::Oracle, InstantClient 11.1.0.1, and Kerberos
- Previous by thread: DBD::ODBC and cancel()
- Next by thread: Re: DBI->connect Error
- Index(es):
Relevant Pages
|
|