install_driver(mysql)failed:Can’tlocateDBD/mysql.pmin@INC(@INCcontains:/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(eval7)line3.
PerhapstheDBD::mysqlperlmodulehasn’tbeenfullyinstalled,
orperhapsthecapitalisationof‘mysql’isn’tright.
Availabledrivers:DBM,ExampleP,File,Proxy,Sponge.
atbin/mysqlhotcopyline177

今天解决了下,只需要安装perl-DBD-MySQL即可解决此问题。
yuminstallperl-DBD-MySQL

DependenciesResolved

=====================================================================================================================
PackageArchVersionRepositorySize
=====================================================================================================================
Installing:
perl-DBD-MySQLx86_643.0007-2.el5base148k

TransactionSummary
=====================================================================================================================
Install1Package(s)
Upgrade0Package(s)

Totaldownloadsize:148k
Isthisok[y/N]:y
DownloadingPackages:
perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm|148kB00:00
Runningrpm_check_debug
RunningTransactionTest
FinishedTransactionTest
TransactionTestSucceeded
RunningTransaction
Installing:perl-DBD-MySQL1/1

Installed:
perl-DBD-MySQL.x86_640:3.0007-2.el5

Complete!

再执行,OK啦!