in reply to Re: No DBI->connect_cached?
in thread No DBI->connect_cached?
And here is the exact error from the apache error log:use DBI; use DBD::mysql;
Here is the func.pm line 74 and 75 the asp script calls:[Sun Sep 02 20:40:30 2007] [error] [asp] [4441] [error] Can't locate o +bject method "connect_cached" via package "DBI" at /usr/local/webtool +s/func.pm line 75. <--> , /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.p +m line 1521
my $dsn = 'DBI:mysql:database=canonizer_devel_3:host=localhost;port=33 +06'; my $dbh = DBI->connect_cached($dsn, $user, $password, { RaiseError => +1, AutoCommit => $autocommit });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: No DBI->connect_cached?
by CountZero (Bishop) on Sep 03, 2007 at 08:43 UTC | |
|
Re^3: No DBI->connect_cached?
by GrandFather (Saint) on Sep 03, 2007 at 02:57 UTC |