brent.allsop has asked for the wisdom of the Perl Monks concerning the following question:
I’m trying to get an apache::asp application using MySQL up and running on a new server. It does the following:
But I’m getting:my $dbh = DBI->connect_cached($dsn, $user, $password, { RaiseError => +1, AutoCommit => $autocommit });
Can’t locate object method connect_cached via package DBI
But I don’t know what this could mean. Does it seem to mean I’m using the wrong version of DBI? One that doesn’t have a connect_cached call? Or maybe, do I not have the MySQL stuff installed properly. I’m not sure what to do next to resolve this problem.
Thanks Monks!
Brent Allsop
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: No DBI->connect_cached?
by GrandFather (Saint) on Sep 03, 2007 at 02:08 UTC | |
by brent.allsop (Acolyte) on Sep 03, 2007 at 02:45 UTC | |
by CountZero (Bishop) on Sep 03, 2007 at 08:43 UTC | |
by GrandFather (Saint) on Sep 03, 2007 at 02:57 UTC | |
|
Re: No DBI->connect_cached?
by jZed (Prior) on Sep 03, 2007 at 05:58 UTC | |
|
Re: No DBI->connect_cached?
by perrin (Chancellor) on Sep 03, 2007 at 04:49 UTC |