码迷,mamicode.com
首页 > 数据库 > 详细

centos6 rpm安装mysql 5.7

时间:2018-12-25 11:33:21      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:solution   problem   roo   ==   code   ESS   nokey   fail   ges   

安装过程中需要进行系统补包操作

  1 [root@cent6zbx ~]# rpm -qa |grep mysql
  2 mysql-libs-5.1.73-5.el6_6.x86_64
  3 [root@cent6zbx ~]# rpm -e mysql-libs
  4 error: Failed dependencies:
  5         libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
  6         libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
  7         mysql-libs is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
  8 [root@cent6zbx ~]# rpm -e --nodeps mysql-libs
  9 [root@cent6zbx ~]# rpm -qa |grep mysql       
 10 [root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.24-1.el6.x86_64.rpm mysql-community-client-5.7.24-1.el6.x86_64.rpm mysql-community-libs-
 11 mysql-community-libs-5.7.24-1.el6.x86_64.rpm
 12 mysql-community-libs-compat-5.7.24-1.el6.x86_64.rpm
 13 [root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.24-1.el6.x86_64.rpm mysql-community-client-5.7.24-1.el6.x86_64.rpm mysql-community-libs-
 14 mysql-community-libs-5.7.24-1.el6.x86_64.rpm
 15 mysql-community-libs-compat-5.7.24-1.el6.x86_64.rpm
 16 [root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.24-1.el6.x86_64.rpm mysql-community-client-5.7.24-1.el6.x86_64.rpm mysql-community-libs-5.7.24-1.el6.x86_64.rpm mysql-community-server-5.7.24-1.el6.x86_64.rpm mysql-community-libs-compat-5.7.24-1.el6.x86_64.rpm 
 17 warning: mysql-community-common-5.7.24-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
 18 error: Failed dependencies:
 19         libaio.so.1()(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 20         libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 21         libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 22         libnuma.so.1()(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 23         libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 24         libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-5.7.24-1.el6.x86_64
 25 [root@cent6zbx ~]# yum install libaio
 26 Loaded plugins: fastestmirror
 27 Setting up Install Process
 28 Loading mirror speeds from cached hostfile
 29 Resolving Dependencies
 30 --> Running transaction check
 31 ---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
 32 --> Finished Dependency Resolution
 33 
 34 Dependencies Resolved
 35 
 36 ==============================================================================================================================================================
 37  Package                             Arch                                Version                                      Repository                         Size
 38 ==============================================================================================================================================================
 39 Installing:
 40  libaio                              x86_64                              0.3.107-10.el6                               base                               21 k
 41 
 42 Transaction Summary
 43 ==============================================================================================================================================================
 44 Install       1 Package(s)
 45 
 46 Total download size: 21 k
 47 Installed size: 34 k
 48 Is this ok [y/N]: y
 49 Downloading Packages:
 50 Running rpm_check_debug
 51 Running Transaction Test
 52 Transaction Test Succeeded
 53 Running Transaction
 54 Warning: RPMDB altered outside of yum.
 55 ** Found 3 pre-existing rpmdb problem(s), yum check output follows:
 56 2:postfix-2.6.6-6.el6_5.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
 57 2:postfix-2.6.6-6.el6_5.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
 58 2:postfix-2.6.6-6.el6_5.x86_64 has missing requires of mysql-libs
 59   Installing : libaio-0.3.107-10.el6.x86_64                                                                                                               1/1 
 60   Verifying  : libaio-0.3.107-10.el6.x86_64                                                                                                               1/1 
 61 
 62 Installed:
 63   libaio.x86_64 0:0.3.107-10.el6 
 64 [root@cent6zbx ~]# yum install numactl
 65 Loaded plugins: fastestmirror
 66 Setting up Install Process
 67 Loading mirror speeds from cached hostfile
 68 Resolving Dependencies
 69 --> Running transaction check
 70 ---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed
 71 --> Finished Dependency Resolution
 72 
 73 Dependencies Resolved
 74 
 75 ===========================================================================================
 76  Package              Arch                Version                  Repository         Size
 77 ===========================================================================================
 78 Installing:
 79  numactl              x86_64              2.0.9-2.el6              base               74 k
 80 
 81 Transaction Summary
 82 ===========================================================================================
 83 Install       1 Package(s)
 84 
 85 Total download size: 74 k
 86 Installed size: 171 k
 87 Is this ok [y/N]: y
 88 Downloading Packages:
 89 Running rpm_check_debug
 90 Running Transaction Test
 91 Transaction Test Succeeded
 92 Running Transaction
 93   Installing : numactl-2.0.9-2.el6.x86_64                                              1/1 
 94   Verifying  : numactl-2.0.9-2.el6.x86_64                                              1/1 
 95 
 96 Installed:
 97   numactl.x86_64 0:2.0.9-2.el6                                                             
 98 
 99 Complete!
100                                                                                                                              
101 [root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.24-1.el6.x86_64.rpm mysql-community-client-5.7.24-1.el6.x86_64.rpm mysql-community-libs-5.7.24-1.el6.x86_64.rpm mysql-community-server-5.7.24-1.el6.x86_64.rpm mysql-community-libs-compat-5.7.24-1.el6.x86_64.rpm 
102 warning: mysql-community-common-5.7.24-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
103 Preparing...                ########################################### [100%]
104    1:mysql-community-common ########################################### [ 20%]
105    2:mysql-community-libs   ########################################### [ 40%]
106    3:mysql-community-client ########################################### [ 60%]
107    4:mysql-community-server ########################################### [ 80%]
108    5:mysql-community-libs-co########################################### [100%]

 

centos6 rpm安装mysql 5.7

标签:solution   problem   roo   ==   code   ESS   nokey   fail   ges   

原文地址:https://www.cnblogs.com/shuitian-ys/p/10172347.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!