Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: Vinil on November 02, 2013, 06:36:10 am

Title: Can't locate DBD/mysql.pm
Post by: Vinil on November 02, 2013, 06:36:10 am
Can't locate DBD/mysql.pm

We will be mainly receiving such error on installation of any plugin/service and as an after effect the starting of specific service would have been failed.

This error was caused due to the missing of a perl module 'DBD::mysql' which is a driver for connecting to MySQL database servers with DBI. Where DBI is a database-independent interface for the Perl programming language.


If you are on a cpanel server we can easily install them using the CP script "/scripts/perlinstaller". Or else you can download and install the required rpm from the following link
"http://rpmfind.net/linux/rpm2html/search.php?query=perl-DBD-mysql"

Just install them as :-

# /scripts/perlinstaller DBI
# /scripts/perlinstaller DBD::mysql


This will do the trick.  ;)



Regards,
Vinil George