[root@master-01 mysql]# rpm -ivh mysql-community-common-5.7.14-1.el6.x86_64.rpm 警告:mysql-community-common-5.7.14-1.el6.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY 準備中... ################################# [100%] 正在升級/安裝... 1:mysql-community-common-5.7.14-1.e################################# [100%] [root@master-01 mysql]# rpm -ivh mysql-community-libs-5.7.14-1.el6.x86_64.rpm 警告:mysql-community-libs-5.7.14-1.el6.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY 準備中... ################################# [100%] 正在升級/安裝... 1:mysql-community-libs-5.7.14-1.el6################################# [100%] [root@master-01 mysql]# rpm -ivh mysql-community-client-5.7.14-1.el6.x86_64.rpm 警告:mysql-community-client-5.7.14-1.el6.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY 準備中... ################################# [100%] 正在升級/安裝... 1:mysql-community-client-5.7.14-1.e################################# [100%] [root@master-01 mysql]# rpm -ivh mysql-community-server-5.7.14-1.el5.x86_64.rpm 警告:mysql-community-server-5.7.14-1.el5.x86_64.rpm: 頭V3 DSA/SHA1 Signature, 密鑰 ID 5072e1f5: NOKEY 錯誤:依賴檢測失敗: mysql-community-common = 5.7.14-1.el5 被 mysql-community-server-5.7.14-1.el5.x86_64 須要 [root@master-01 mysql]#
徹底不按套路出牌,不知道錯在哪了。。!!!html
----------------------------mysql
後記:linux
官方安裝文檔很重要,安裝前頗有必要看一看!!!http://dev.mysql.com/doc/refman/5.7/en/linux-installation-rpm.htmlsql
Table 2.8 MySQL Linux RPM Package Distribution Identifierscentos
distribution Value | Intended Use |
---|---|
el5 , el6 , el7 |
Red Hat Enterprise Linux/Oracle Linux/CentOS 5, 6, or 7 |
fc23 , fc24 |
Fedora 23 or 24 |
sles12 |
SUSE Linux Enterprise Server 12 |
這裏選擇合適本身Linux系統的mysql版本,el7表明是給centos7使用的,別用亂了。爲了不下載錯誤版本,建議下載builder包,這裏是其餘包的合集。ui
安裝的時候,請使用yum install ....方式安置,yum會自動處理依賴!centos7
這樣就能夠正確安裝成功了!code