Leopard:Mysql: DBI: DBD problems
- From: quicksilver-web@xxxxxxxxxxxxx (Quicksilver-Web)
- Date: Wed, 12 Mar 2008 14:23:52 +0000
Help required!
I have recently installed DBD-mysql 4.006 on Leopard (Mac OS X 10.5.2) and I am having problems. When I try to run my Perl scripts on my local (Apache\) server I get the following error messages:
"install_driver mysql failed. Cant locate DBD/mysql.pm".
The fact is that mysql.pm does reside in the following places on my machine:
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Bundle/DBD
and in
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBD.
Even when I add the above paths to the @INC array, it doesnt work.
..
My current environment: Perl 5.8.8; MySQL 5.0.45; and the current versions of DBI (1.602) & DBD.
The perl code works fine on my live site & on my previous test sites - I have a test environment on Mac OS X 10.3 & Windows XP both using DBD & DBI modules & I have never had these problems before.
All help & info gratefully received.
Quicksilver
.
- Prev by Date: Re: Statement prep fails with "Error calling SQLGetInfo"
- Next by Date: Re: Statement prep fails with "Error calling SQLGetInfo"
- Previous by thread: Statement prep fails with "Error calling SQLGetInfo"
- Next by thread: CDBIL::Relationship
- Index(es):
Relevant Pages
|
|