在centos7.0下安装xtrabackup报错

前端之家收集整理的这篇文章主要介绍了在centos7.0下安装xtrabackup报错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

在centos7.0下安装xtrabackup报错:

# rpm -ivh percona-xtrabackup-24-2.4.2-1.el7.x86_64.rpm

error: Failed dependencies:

libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.2-1.el7.x86_64

perl(DBD::MysqL) is needed by percona-xtrabackup-24-2.4.2-1.el7.x86_64

解决方法

yum -y install perl-DBD-MysqL

yum -y install libev

如果没有包可在尝试配percona的yum源:

vi /etc/yum.repos.d/Percona.repo [percona] name = CentOS $releasever - Percona baseurl=http://repo.percona.com/centos/$releasever/os/$basearch/ enabled = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona gpgcheck = 1:q

原文链接:https://www.f2er.com/centos/380006.html

猜你在找的CentOS相关文章