centos7安装percona-toolkit

percona-toolkit有很多实用的mysql工具,这里介绍如何在centos7系统中安装percona-toolkit。

# 下载percona-toolkit rpm包
wget https://downloads.percona.com/downloads/percona-toolkit/3.3.1/binary/redhat/7/x86_64/percona-toolkit-3.3.1-1.el7.x86_64.rpm

# 使用yum进行安装
yum install percona-toolkit-3.3.1-1.el7.x86_64.rpm

# 到这里,percona-toolkit就安装成功了

注:percona toolkit官网:https://www.percona.com/software/database-tools/percona-toolkit

确认安装成功:

[root@v2 ~]# pt-online-schema-change --version
pt-online-schema-change 3.3.1