DBD::mysql perl module hasn’t been fully installed

DADA mail error:

[Wed Jun 24 11:35:49 2015] mail.cgi: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: ../../ ../../perllib /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5 ../../DADA/perllib ../../../ ../../DADA ../../../DADA/perllib ../../../perllib ./ ../ ./../../DADA /home/login/domains/loginroot.com/public_html/mailinglist/DADA/perllib /home/login/domains/loginroot.com/public_html/mailinglist /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /home/login/perl5/lib/perl5 /home/login/perl5/lib/perl5/x86_64-linux-thread-multi /home/login/perllib /home/login/perl/home/login/domains/loginroot.com/public_html/mailinglist/DADA/perllib /home/login/perl/home/login/domains/loginroot.com/public_html/mailinglist /home/login/perl/usr/local/lib64/perl5 /home/login/perl/usr/local/share/perl5 /home/login/perl/usr/lib64/perl5/vendor_perl /home/login/perl/usr/share/perl5/vendor_perl /home/login/perl/usr/lib64/perl5 /home/login/perl/usr/share/perl5 /home/login/perl.) at (eval 20) line 3, <CONFIG> line 1.
[Wed Jun 24 11:35:49 2015] mail.cgi: Perhaps the DBD::mysql perl module hasn't been fully installed,
[Wed Jun 24 11:35:49 2015] mail.cgi: or perhaps the capitalisation of 'mysql' isn't right.
[Wed Jun 24 11:35:49 2015] mail.cgi: Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
[Wed Jun 24 11:35:49 2015] mail.cgi: at /DADA/App/DBIHandle.pm line 166

The fix

It means that DBD::mysql perl module is missing.
It can be installed with command:

cpan -i  DBD::mysql

Or if You don’t want to press ‘y’ all the time, enter this command:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.