contos 6.8安装mysql 报错:
[root@VM_0_13_centos mysql]# rpm -ivh mysql-community-server-5.7.20-1.el6.x86_64.rpm
warning: mysql-community-server-5.7.20-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
mysql-community-client(x86-64) >= 5.7.9 is needed by mysql-community-server-5.7.20-1.el6.x86_64
mysql-community-common(x86-64) = 5.7.20-1.el6 is needed by mysql-community-server-5.7.20-1.el6.x86_64
从报错的信息看,是需要在安装
mysql-community-server-5.7.20-1.el6.x86_64(mysql服务)之前需要先安装 mysql-community-common(x86-64) 和mysql-community-client(x86-64)