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


.



Relevant Pages

  • Re: Getting started in Perl for OSX
    ... Do you know how to bring up a terminal on your mac? ... Find the utilities directory and you'll ... Then enter any perl command, ... > this e-mail and any attachments for viruses. ...
    (perl.beginners)
  • Re: My Dilemma: Linux vs OSX
    ... compiling kernels, modifying source code for apps, ... e-mail, web news, Usenet, and perl ... OSX "looks like" Linux deep under the hood, but at a higher level, I ... feel lost reading, say, the Mac newsgroups. ...
    (comp.sys.mac.system)
  • Re: My Dilemma: Linux vs OSX
    ... e-mail, web news, Usenet, and perl programming. ... Hence, my interest in the Mac and OSX, and my dilemma. ... And if you ever feel you need to look under the hood, ... you can even run linux on it directly. ...
    (comp.sys.mac.system)
  • DBD::mysql mysql_server_prepare=1 -> Bus Error
    ... DBD::mysql prepared statements are not working for me under Mac OS X 10.4.8. ... test - will only run with MySQL 5.1 and above. ... Bus error ... My perl version is: ...
    (perl.dbi.users)
  • Re: My Dilemma: Linux vs OSX
    ... e-mail, web news, Usenet, and perl programming. ... Hence, my interest in the Mac and OSX, and my dilemma. ... "looks like" Linux deep under the hood, but at a higher level, I feel lost ...
    (comp.sys.mac.system)