之前也遇到过类似报错,不过网站都没记录,这次记录下。实际网页上的资料也都是有很多的正确解决方案。
问题如下,通过官网下载的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