CentOS 6.5下Percona Xtrabackup的安装错误解决方案

CentOS 6.5下Percona Xtrabackup的安装错误解决方案

1.下载最新版的Xtracbackup

2.安装

yum install perl-DBI
yum install perl-DBD-MySQL
yum install perl-Time-HiRes
yum install perl-IO-Socket-SSL

[linuxidc@Web1 ~]# rpm -ivh percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm
warning: percona-xtrabackup-2.2.3-4982.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
        libaio.so.1()(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
        libaio.so.1(LIBAIO_0.1)(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
        libaio.so.1(LIBAIO_0.4)(64bit) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
        perl(DBD::mysql) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64
        perl(Time::HiRes) is needed by percona-xtrabackup-2.2.3-4982.el6.x86_64

安装以下依赖包:
[linuxidc@Web1 ~]# yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL

再重新安装一下

建议吧mysql升级到最高版本

XtraBackup 的详细介绍:请点这里
XtraBackup 的下载地址:请点这里

相关推荐