1.下载最新版的Xtracbackup
2.安装
yum install perl-DBI
yum install perl-DBD-MySQL
yum install perl-Time-HiRes
yum install perl-IO-Socket-SSL [iyunv@Web1 ~]# rpm -ivh percona-xtrabackup-2.2.-.el6.x86_64.rpm
warning: percona-xtrabackup-2.2.-.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
libaio.so.()(64bit) is needed by percona-xtrabackup-2.2.-.el6.x86_64
libaio.so.(LIBAIO_0.)(64bit) is needed by percona-xtrabackup-2.2.-.el6.x86_64
libaio.so.(LIBAIO_0.)(64bit) is needed by percona-xtrabackup-2.2.-.el6.x86_64
perl(DBD::mysql) is needed by percona-xtrabackup-2.2.-.el6.x86_64
perl(Time::HiRes) is needed by percona-xtrabackup-2.2.-.el6.x86_64
安装以下依赖包:
[iyunv@Web1 ~]# yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL
再重新安装一下
建议吧mysql升级到最高版本