Install_driver (MySQL) failed: can't locate DBD/MySQL. pm IN @ INC (@ INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/usr/lib/perl5/site_perl/5.8.8/usr/lib/perl5/site_perl/usr/lib64/perl5/vendor_perl/5.8.8 /x86_64-linux-thread-multi/usr/lib/perl5/vendor_perl/5.8.8
/Usr/lib/perl5/vendor_perl/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/usr/lib/perl5/5.8.8.) at (eval 7) Line 3.
Perhaps the DBD: MySQL Perl module hasn' t been fully installed,
Or perhaps the capitalization of 'mysql' isn' t right.
Available drivers: dBm, examplep, file, proxy, mongoge.
At bin/mysqlhotcopy line 177
Today, we have solved this problem by installing Perl-DBD-MySQL.
Yum install Perl-DBD-MySQL
...
Dependencies resolved
========================================================== ========================================================== ============================================
Package arch version repository size
========================================================== ========================================================== ============================================
Installing:
Perl-DBD-mysqlx86_64 3.0007-2. EL5 base 148 K
Transaction Summary
========================================================== ========================================================== ============================================
Install 1 package (s)
Upgrade 0 package (s)
Total download size: 148 K
Is this OK [Y/n]: Y
Downloading packages:
Perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm | 148 KB 00: 00
Running rpm_check_debug
Running transaction Test
Finished transaction Test
Transaction test succeeded
Running transaction
Installing: Perl-DBD-mysql 1/1
Installed:
Perl-DBD-MySQL.x86_64. 0007-2.el5
Complete!
Run it again. OK!
My mysql. Sock is under/tmp
Perform a soft connection ln-S/tmp/MySQL. Sock/var/lib/MySQL/