mysql第三方工具percona-toolkit-3.0.9安装


Linux系统
[root@test temp]# cat /etc/redhat-release
CentOS release 6.8 (Final)

数据库版本(一般生产库不会使用rpm方式安装,这里是测试库)
[root@st-test temp]# rpm -qa|grep -i mysql
MySQL-client-5.6.37-1.el6.x86_64
MySQL-server-5.6.37-1.el6.x86_64

准备
已配置好网易网络源yum;
另需要提前手动安装一个MySQL-shared-compat包,从官网下载既即可,地址如下:
https://dev.mysql.com/downloads/mysql/5.6.html#downloads
找到MySQL-shared-compat-5.6.40-1.el6.x86_64.rpm这个包下载,上传到服务器,并安装
rpm -ihv MySQL-shared-compat-5.6.40-1.el6.x86_64.rpm

安装依赖包
yum -y install perl-DBI perl-DBD-MySQL perl-Time-HiRes perl-IO-Socket-SSL perl-TermReadKey

安装percona-toolkit
下载rpm包,地址:https://www.percona.com/downloads/percona-toolkit/LATEST/
安装rpm -ivh percona-toolkit-3.0.9-1.el6.x86_64.rpm
 

Logo

更多推荐