共计 1318 个字符,预计需要花费 4 分钟才能阅读完成。
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 升级到最高版本
MySQL 管理之使用 XtraBackup 进行热备 http://www.linuxidc.com/Linux/2014-04/99671.htm
MySQL 开源备份工具 Xtrabackup 备份部署 http://www.linuxidc.com/Linux/2013-06/85627.htm
MySQL Xtrabackup 备份和恢复 http://www.linuxidc.com/Linux/2011-12/50275.htm
用 XtraBackup 实现 MySQL 的主从复制快速部署【主不锁表】http://www.linuxidc.com/Linux/2012-10/71919p2.htm
安装和使用 Percona 推出的 Xtrabackup 备份 MySQL http://www.linuxidc.com/Linux/2011-10/44451.htm
XtraBackup 的详细介绍 :请点这里
XtraBackup 的下载地址 :请点这里
本文永久更新链接地址 :http://www.linuxidc.com/Linux/2016-04/130041.htm