Centos 6.5 final 安裝 xtrabackup 2.2.11 小記,centosxtrabackup
(1)下載xtrabackupwget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.11/binary/redhat/6/x86_64/percona-xtrabackup-2.2.11-1.el6.x86_64.rpm
(2)rpm安裝xtrabackuprpm -ivh percona-xtrabackup-2.2.11-1.el6.x86_64.rpm失敗原因:需要先安裝 perl
(3)安裝perlyum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL失敗
原因:yum perl 預設是安裝 mysql-libs-5.1.73-5.el6_6.x86_64 和當前已安裝的 server 的 MySQL-server-5.6.25-1.el6.x86_64 有衝突,因此需要先安裝shared版本。
(4)下載安裝mysql-sharedwget http://cdn.mysql.com/archives/mysql-5.6/MySQL-shared-5.6.15-1.el6.x86_64.rpmrpm -ih MySQL-shared-5.6.15-1.el6.x86_64.rpm
(5)下載安裝 mysql-shared-compatwget http://cdn.mysql.com/archives/mysql-5.6/MySQL-shared-compat-5.6.15-1.el6.x86_64.rpm
rpm -ih MySQL-shared-compat-5.6.15-1.el6.x86_64.rpm
(6)重新安裝perlyum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL成功
(7)重新安裝 xtrabackuprpm -ivh percona-xtrabackup-2.2.11-1.el6.x86_64.rpm成功
著作權聲明:本文為博主原創文章,未經博主允許不得轉載。