1.首先下载mysql5.7安装包。
[root@iZbp1gchhrqf6lpap21zptZ opt]# wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar
--2018-06-13 11:11:28-- https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar
正在解析主机 dev.mysql.com (dev.mysql.com)... 137.254.60.11
正在连接 dev.mysql.com (dev.mysql.com)|137.254.60.11|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar [跟随至新的 URL]
--2018-06-13 11:11:29-- https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar
正在解析主机 cdn.mysql.com (cdn.mysql.com)... 23.218.45.194
正在连接 cdn.mysql.com (cdn.mysql.com)|23.218.45.194|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:598026240 (570M) [application/x-tar]
正在保存至: “mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar”
100%[======================================>] 598,026,240 4.19MB/s 用时 2m 11s
2018-06-13 11:13:41 (4.34 MB/s) - 已保存 “mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar” [598026240/598026240])
2.然后解压安装包。
[root@iZbp1gchhrqf6lpap21zptZ opt]# tar -xvf mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar
mysql-community-libs-5.7.22-1.el7.x86_64.rpm
mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm
mysql-community-embedded-5.7.22-1.el7.x86_64.rpm
mysql-community-test-5.7.22-1.el7.x86_64.rpm
mysql-community-server-5.7.22-1.el7.x86_64.rpm
mysql-community-client-5.7.22-1.el7.x86_64.rpm
mysql-community-server-minimal-5.7.22-1.el7.x86_64.rpm
mysql-community-devel-5.7.22-1.el7.x86_64.rpm
mysql-community-common-5.7.22-1.el7.x86_64.rpm
mysql-community-minimal-debuginfo-5.7.22-1.el7.x86_64.rpm
mysql-community-embedded-devel-5.7.22-1.el7.x86_64.rpm
mysql-community-embedded-compat-5.7.22-1.el7.x86_64.rpm
3.安装mysql-community-server-5.7.22-1.el7.x86_64.rpm
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-server-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-server-5.7.22-1.el7.x86_64.rpm: mysql-community-server-5.7.22-1.el7.x86_64
mysql-community-server-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-server.x86_64.0.5.7.22-1.el7 将被 安装
--> 正在处理依赖关系 mysql-community-common(x86-64) = 5.7.22-1.el7,它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
Loading mirror speeds from cached hostfile
--> 正在处理依赖关系 mysql-community-client(x86-64) >= 5.7.9,它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在处理依赖关系 libaio.so.1(LIBAIO_0.1)(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在处理依赖关系 libaio.so.1(LIBAIO_0.4)(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在处理依赖关系 libaio.so.1()(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libaio.x86_64.0.0.3.109-13.el7 将被 安装
---> 软件包 mysql-community-server.x86_64.0.5.7.22-1.el7 将被 安装
--> 正在处理依赖关系 mysql-community-common(x86-64) = 5.7.22-1.el7,它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在处理依赖关系 mysql-community-client(x86-64) >= 5.7.9,它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 解决依赖关系完成
错误:软件包:mysql-community-server-5.7.22-1.el7.x86_64 (/mysql-community-server-5.7.22-1.el7.x86_64)
需要:mysql-community-common(x86-64) = 5.7.22-1.el7
错误:软件包:mysql-community-server-5.7.22-1.el7.x86_64 (/mysql-community-server-5.7.22-1.el7.x86_64)
需要:mysql-community-client(x86-64) >= 5.7.9
您可以尝试添加 --skip-broken 选项来解决该问题
您可以尝试执行:rpm -Va --nofiles --nodigest
4.提示安装mysql-server需要安装mysql-common与mysql-client,那么我们开始安装mysql-common和mysql-client,首先安装mysql-common。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-common-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-common-5.7.22-1.el7.x86_64.rpm: mysql-community-common-5.7.22-1.el7.x86_64
mysql-community-common-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-common.x86_64.0.5.7.22-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在安装:
mysql-community-common
x86_64 5.7.22-1.el7 /mysql-community-common-5.7.22-1.el7.x86_64 2.5 M
事务概要
================================================================================
安装 1 软件包
总计:2.5 M
安装大小:2.5 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /usr/share/mysql/czech/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/greek.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/macce.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of mysql-community-common-5.7.22-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64
错误概要
-------------
5.提示与mariadb-libs有冲突,那么我们删除mariadb-libs程序。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum -y remove mariadb-libs
已加载插件:fastestmirror
正在解决依赖关系
--> 正在检查事务
---> 软件包 mariadb-libs.x86_64.1.5.5.56-2.el7 将被 删除
--> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 2:postfix-2.10.1-6.el7.x86_64 需要
--> 正在处理依赖关系 libmysqlclient.so.18(libmysqlclient_18)(64bit),它被软件包 2:postfix-2.10.1-6.el7.x86_64 需要
--> 正在检查事务
---> 软件包 postfix.x86_64.2.2.10.1-6.el7 将被 删除
--> 正在处理依赖关系 /usr/sbin/sendmail,它被软件包 redhat-lsb-core-4.1-27.el7.centos.1.x86_64 需要
--> 正在使用新的信息重新解决依赖关系
--> 正在检查事务
---> 软件包 redhat-lsb-core.x86_64.0.4.1-27.el7.centos.1 将被 删除
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在删除:
mariadb-libs x86_64 1:5.5.56-2.el7 @anaconda 4.4 M
为依赖而移除:
postfix x86_64 2:2.10.1-6.el7 @anaconda 12 M
redhat-lsb-core x86_64 4.1-27.el7.centos.1 @base 45 k
事务概要
================================================================================
移除 1 软件包 (+2 依赖软件包)
安装大小:17 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在删除 : redhat-lsb-core-4.1-27.el7.centos.1.x86_64 1/3
正在删除 : 2:postfix-2.10.1-6.el7.x86_64 2/3
正在删除 : 1:mariadb-libs-5.5.56-2.el7.x86_64 3/3
验证中 : 1:mariadb-libs-5.5.56-2.el7.x86_64 1/3
验证中 : 2:postfix-2.10.1-6.el7.x86_64 2/3
验证中 : redhat-lsb-core-4.1-27.el7.centos.1.x86_64 3/3
删除:
mariadb-libs.x86_64 1:5.5.56-2.el7
作为依赖被删除:
postfix.x86_64 2:2.10.1-6.el7 redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1
完毕!
6.是接下来继续安装mysql-community-common-5.7.22-1.el7.x86_64.rpm。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-common-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-common-5.7.22-1.el7.x86_64.rpm: mysql-community-common-5.7.22-1.el7.x86_64
mysql-community-common-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-common.x86_64.0.5.7.22-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在安装:
mysql-community-common
x86_64 5.7.22-1.el7 /mysql-community-common-5.7.22-1.el7.x86_64 2.5 M
事务概要
================================================================================
安装 1 软件包
总计:2.5 M
安装大小:2.5 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : mysql-community-common-5.7.22-1.el7.x86_64 1/1
验证中 : mysql-community-common-5.7.22-1.el7.x86_64 1/1
已安装:
mysql-community-common.x86_64 0:5.7.22-1.el7
完毕!
7.接下来安装mysql-client。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-client-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-client-5.7.22-1.el7.x86_64.rpm: mysql-community-client-5.7.22-1.el7.x86_64
mysql-community-client-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-client.x86_64.0.5.7.22-1.el7 将被 安装
--> 正在处理依赖关系 mysql-community-libs(x86-64) >= 5.7.9,它被软件包 mysql-community-client-5.7.22-1.el7.x86_64 需要
Loading mirror speeds from cached hostfile
--> 解决依赖关系完成
错误:软件包:mysql-community-client-5.7.22-1.el7.x86_64 (/mysql-community-client-5.7.22-1.el7.x86_64)
需要:mysql-community-libs(x86-64) >= 5.7.9
您可以尝试添加 --skip-broken 选项来解决该问题
您可以尝试执行:rpm -Va --nofiles --nodigest
8.提示需要安装mysql-lib。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-libs-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-libs-5.7.22-1.el7.x86_64.rpm: mysql-community-libs-5.7.22-1.el7.x86_64
mysql-community-libs-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-libs.x86_64.0.5.7.22-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在安装:
mysql-community-libs
x86_64 5.7.22-1.el7 /mysql-community-libs-5.7.22-1.el7.x86_64 9.4 M
事务概要
================================================================================
安装 1 软件包
总计:9.4 M
安装大小:9.4 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : mysql-community-libs-5.7.22-1.el7.x86_64 1/1
验证中 : mysql-community-libs-5.7.22-1.el7.x86_64 1/1
已安装:
mysql-community-libs.x86_64 0:5.7.22-1.el7
完毕!
9.继续安装mysql-client。
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-client-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-client-5.7.22-1.el7.x86_64.rpm: mysql-community-client-5.7.22-1.el7.x86_64
mysql-community-client-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-client.x86_64.0.5.7.22-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package 架构 版本 源 大小
================================================================================
正在安装:
mysql-community-client
x86_64 5.7.22-1.el7 /mysql-community-client-5.7.22-1.el7.x86_64 106 M
事务概要
================================================================================
安装 1 软件包
总计:106 M
安装大小:106 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : mysql-community-client-5.7.22-1.el7.x86_64 1/1
验证中 : mysql-community-client-5.7.22-1.el7.x86_64 1/1
已安装:
mysql-community-client.x86_64 0:5.7.22-1.el7
完毕!
10.重新安装mysql-server
[root@iZbp1gchhrqf6lpap21zptZ opt]# yum localinstall mysql-community-server-5.7.22-1.el7.x86_64.rpm
已加载插件:fastestmirror
正在检查 mysql-community-server-5.7.22-1.el7.x86_64.rpm: mysql-community-server-5.7.22-1.el7.x86_64
mysql-community-server-5.7.22-1.el7.x86_64.rpm 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 mysql-community-server.x86_64.0.5.7.22-1.el7 将被 安装
--> 正在处理依赖关系 libaio.so.1(LIBAIO_0.1)(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
Loading mirror speeds from cached hostfile
--> 正在处理依赖关系 libaio.so.1(LIBAIO_0.4)(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在处理依赖关系 libaio.so.1()(64bit),它被软件包 mysql-community-server-5.7.22-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libaio.x86_64.0.0.3.109-13.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
================================================================================
Package
架构 版本 源 大小
================================================================================
正在安装:
mysql-community-server
x86_64 5.7.22-1.el7 /mysql-community-server-5.7.22-1.el7.x86_64 743 M
为依赖而安装:
libaio x86_64 0.3.109-13.el7 base 24 k
事务概要
================================================================================
安装 1 软件包 (+1 依赖软件包)
总计:743 M
总下载量:24 k
安装大小:743 M
Is this ok [y/d/N]: y
Downloading packages:
libaio-0.3.109-13.el7.x86_64.rpm | 24 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libaio-0.3.109-13.el7.x86_64 1/2
正在安装 : mysql-community-server-5.7.22-1.el7.x86_64 2/2
验证中 : libaio-0.3.109-13.el7.x86_64 1/2
验证中 : mysql-community-server-5.7.22-1.el7.x86_64 2/2
已安装:
mysql-community-server.x86_64 0:5.7.22-1.el7
作为依赖被安装:
libaio.x86_64 0:0.3.109-13.el7
完毕!