使用rpm -ivh MySQL-server-5.6.26-1.linux_glibc2.5.x86_64.rpm命令,安装MySQL时,遇到了下面的错误:
[root@Master mysql]# rpm -ivh MySQL-server-5.6.26-1.linux_glibc2.5.x86_64.rpm
warning: MySQL-server-5.6.26-1.linux_glibc2.5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
/bin/sh is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
/sbin/chkconfig is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
/usr/bin/perl is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
/usr/sbin/groupadd is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
/usr/sbin/useradd is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
coreutils is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
grep is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libaio.so.1()(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libc.so.6()(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-5.6.26-1.linux_glibc2.5.x86_64
libdl