安装
1)下载percona-toolkit 工具包
wget percona.com/get/percona-toolkit.tar.gz
2)解压
tar -zxvf percona-toolkit.tar.gz
3)进入安装目录
cd /home/percona-toolkit-3.1.0
4)安装perl模块,制定依赖路径
perl Makefile.PL PREFIX=/usr/local/percona-toolkit
报错如下:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.