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


in reply to Perl5 and a custom MySQL4 install

It seems the MySQL driver for the perl database interface (DBI) is missing.

Can you also try this,

check for DBD::mysql is installed or not by perl -e 'use DBD::mysql;'

If there's no DBD::mysql module, you can do the following as root user:

perl -MCPAN -e 'install DBD::mysql'

(It will work if you have internet connection to connect with CPAN).