[root@mysql01 soft]# rpm -ivh percona-xtrabackup-24-2.4.15-1.el6.x86_64.rpm warning: percona-xtrabackup-24-2.4.15-1.el6.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8507efa5: NOKEY error: Failed dependencies: libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.15-1.el6.x86_64 perl(DBD::mysql) is needed by percona-xtrabackup-24-2.4.15-1.el6.x86_64 [root@mysql01 soft]# cat /etc/issue CentOS release 6.7 (Final) Kernel \r on an \m 到http://rpmfind.net/linux/rpm2html/search.php?query=libev.so.4%28%29%2864bit%29&submit=Search+...&system=&arch= 下载操作系统对应的libev包,注意系统号与版本位数 [root@mysql01 soft]# wget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm --2019-10-13 08:27:43-- ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/libev-4.15-1.el6.rf.x86_64.rpm => ?.ibev-4.15-1.el6.rf.x86_64.rpm? Resolving rpmfind.net... 195.220.108.108 Connecting to rpmfind.net|195.220.108.108|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /linux/dag/redhat/el6/en/x86_64/dag/RPMS ... done. ==> SIZE libev-4.15-1.el6.rf.x86_64.rpm ... 74692 ==> PASV ... done. ==> RETR libev-4.15-1.el6.rf.x86_64.rpm ... done. Length: 74692 (73K) (unauthoritative)

100%[=======================================================================================>] 74,692 117K/s in 0.6s

2019-10-13 08:27:47 (117 KB/s) - ?.ibev-4.15-1.el6.rf.x86_64.rpm?.saved [74692]

[root@mysql01 soft]# ls create.sql my.cnf i2active_general mysql-5.7.24-linux-glibc2.12-x86_64 i2active_general-3.1-22343.tar.gz mysql-5.7.24-linux-glibc2.12-x86_64.tar.gz i2active-pctrlcenter-3.1-22343.el6.x86_64.rpm mysql_scripts.zip i2ctlc_CentOS66 percona-xtrabackup-24-2.4.15-1.el6.x86_64.rpm i2ctlc_CentOS67.tar.gz populate.sql i2ctlc_RHEL65--64bit.zip RHEL6.5 i2ctlc_RHEL 6.7.zip select.sql libev-4.15-1.el6.rf.x86_64.rpm [root@mysql01 soft]# rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm warning: libev-4.15-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY Preparing... ########################################### [100%] 1:libev ########################################### [100%] [root@mysql01 soft]# [root@mysql01 soft]# yum -y install perl-DBD-MySQL Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile

  • base: mirrors.aliyun.com
  • extras: mirrors.aliyun.com
  • updates: mirrors.aliyun.com Resolving Dependencies --> Running transaction check ---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed --> Processing Dependency: perl(DBI::Const::GetInfoType) for package: perl-DBD-MySQL-4.013-3.el6.x86_64 --> Processing Dependency: perl(DBI) for package: perl-DBD-MySQL-4.013-3.el6.x86_64 --> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64 --> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64 --> Running transaction check ---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be installed ---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed --> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================ Package Arch Version Repository Size

Installing: perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k Installing for dependencies: mysql-libs x86_64 5.1.73-8.el6_8 base 1.2 M perl-DBI x86_64 1.609-4.el6 base 705 k

Transaction Summary

Install 3 Package(s)

Total download size: 2.0 M Installed size: 6.0 M Downloading Packages: (1/3): mysql-libs-5.1.73-8.el6_8.x86_64.rpm | 1.2 MB 00:00
(2/3): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00
(3/3): perl-DBI-1.609-4.el6.x86_64.rpm | 705 kB 00:00

Total 1.2 MB/s | 2.0 MB 00:01
Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : perl-DBI-1.609-4.el6.x86_64 1/3 Installing : mysql-libs-5.1.73-8.el6_8.x86_64 2/3 warning: /etc/my.cnf created as /etc/my.cnf.rpmnew Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 3/3 Verifying : perl-DBD-MySQL-4.013-3.el6.x86_64 1/3 Verifying : mysql-libs-5.1.73-8.el6_8.x86_64 2/3 Verifying : perl-DBI-1.609-4.el6.x86_64 3/3

Installed: perl-DBD-MySQL.x86_64 0:4.013-3.el6

Dependency Installed: mysql-libs.x86_64 0:5.1.73-8.el6_8 perl-DBI.x86_64 0:1.609-4.el6

Complete! [root@mysql01 soft]# rpm -ivh percona-xtrabackup-24-2.4.15-1.el6.x86_64.rpm warning: percona-xtrabackup-24-2.4.15-1.el6.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8507efa5: NOKEY Preparing... ########################################### [100%] 1:percona-xtrabackup-24 ########################################### [100%]