# yum -y install mysql mysql-server

......

Total download size: 95 M

Installed size: 395 M

Downloading packages:

warning: /var/cache/yum/x86_64/7/mysql56-community/packages/mysql-community-common-5.6.40-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

Public key for mysql-community-common-5.6.40-2.el7.x86_64.rpm is not installed

 在Linux的Centos7下快速安装mysql,利用rpm -ivh命令,但是却出现一个一个的报错,结果发现是每个安装包需要相互依赖,必须有先后顺序;否则就会报错。