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
install Bundle::DBD::mysql
install DBD::mysql

under windows run

ppm install DBI
ppm install DBD::mysql

More information can be found at the cpan website

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