西数超哥博客
运维经验教程分享

Failed dependencies: perl(DBD::mysql) is needed by percona-xtrabackup报错解决办法

之前也遇到过类似报错,不过网站都没记录,这次记录下。实际网页上的资料也都是有很多的正确解决方案。
问题如下,通过官网下载的XtraBackup rpm包,安装XtraBackup 这个mysql备份工具报错如下:

[root@mysql src]# rpm  -ivh   percona-xtrabackup-22-2.2.13-1.el6.x86_64.rpm 
warning: percona-xtrabackup-22-2.2.13-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
error: Failed dependencies:
	perl(DBD::mysql) is needed by percona-xtrabackup-22-2.2.13-1.el6.x86_64
	perl(Time::HiRes) is needed by percona-xtrabackup-22-2.2.13-1.el6.x86_64
[root@mysql src]#  yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL

解决办法如下:

 yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL

再次重新安装,问题解决。

转载请注明:西数超哥博客www.ysidc.top» error: Failed dependencies: perl(DBD::mysql) is needed by percona-xtrabackup-以及perl(Time::HiRes) is needed by percona-xtrabackup-xxx报错解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » Failed dependencies: perl(DBD::mysql) is needed by percona-xtrabackup报错解决办法

登录

找回密码

注册