Posted on 2008-03-04 22:18:11-08 by quicksilver
install_driver(mysql) failed: Can't locate mysql.pm
Environment Mac OS X 10.5.2 (Leopard); DBI 1.602;Perl 5.8.8; DBD::mysql 4.006; MySQL 5.0.45 When running on local webserver (Apache) fails to access the Mysql 5.0.45 Database. Error message as above. However, running the code from the command line - can access database and returns values! mysql.pm does exist but in /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/ how do I get the web server to get to mysql.pm?
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.