Perl Module: DBD::mysql installation

Published by

Posted on July 16, 2014

First things to ensure is that if you installed the 64bit version of Perl. Make sure you install the 64bit version of Mysql and mysql-devel. You will also need the GCC compiler installed on the server for linux.

To check the current Perl modules installed run instmodsh
To install the module run perl -MCPAN -e shell
Then
install Bundle::DBD::mysql
or
install DBD::mysql

under windows run

ppm install DBI
ppm install DBD::mysql

More information can be found at the cpan website

http://code.activestate.com/ppm/

http://www.perlmonks.org/?node_id=1011855

You can force the install if the test fails
fforce install DBD::mysql


About the Author