develooper Front page | perl.dbi.users | Postings from March 2008

Leopard:Mysql: DBI: DBD problems

From:
quicksilver-web
Date:
March 12, 2008 08:09
Subject:
Leopard:Mysql: DBI: DBD problems
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





Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About