./mysqlreport --user root --password root --host 127.0.0.1
?
错误: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
解决:yum install perl-DBD-MySQL
?
http://www.linuxde.net/2011/10/1194.html