编译安装percona-toolkit-2.2.2
perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite DBD::mysql 3 not found.
Writing Makefile for percona-toolkit
解决方案:
安装缺少的包
yum install perl-DBD-MySQL
然后,重新编译
perl Makefile.PL
Writing Makefile for percona-toolkit
继续
make && make test && make install
【注】需要root权限,否则make install报错
Checking if your kit is complete...
Looks good
Warning: prerequisite DBD::mysql 3 not found.
Writing Makefile for percona-toolkit
解决方案:
安装缺少的包
yum install perl-DBD-MySQL
然后,重新编译
perl Makefile.PL
Writing Makefile for percona-toolkit
继续
make && make test && make install
【注】需要root权限,否则make install报错