CentOS8安装MySQL57

发布于:2024-05-11 ⋅ 阅读:(89) ⋅ 点赞:(0)

(1)
#wget https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
–2024-05-11 11:28:00-- https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
Resolving dev.mysql.com (dev.mysql.com)… 23.6.106.166, 2600:1417:4400:8ac::2e31, 2600:1417:4400:89a::2e31
Connecting to dev.mysql.com (dev.mysql.com)|23.6.106.166|:443… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://repo.mysql.com//mysql57-community-release-el7-8.noarch.rpm [following]
–2024-05-11 11:28:01-- https://repo.mysql.com//mysql57-community-release-el7-8.noarch.rpm
Resolving repo.mysql.com (repo.mysql.com)… 92.122.81.156, 2600:1417:4400:e84::1d68, 2600:1417:4400:e8c::1d68
Connecting to repo.mysql.com (repo.mysql.com)|92.122.81.156|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 9116 (8.9K) [application/x-redhat-package-manager]
Saving to: ‘mysql57-community-release-el7-8.noarch.rpm’

mysql57-community-release-el7-8.no 100%[================================================================>] 8.90K --.-KB/s in 0s

2024-05-11 11:28:02 (233 MB/s) - ‘mysql57-community-release-el7-8.noarch.rpm’ saved [9116/9116]

(2)
#rpm -ivh mysql57-community-release-el7-8.noarch.rpm
warning: mysql57-community-release-el7-8.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:mysql57-community-release-el7-8 ################################# [100%]

(3)
#yum -y install mysql-server
Repository extras is listed more than once in the configuration
MySQL Connectors Community 70 kB/s | 72 kB 00:01
MySQL Tools Community 557 kB/s | 1.2 MB 00:02
MySQL 5.7 Community Server 885 kB/s | 3.1 MB 00:03

Installing:
mysql-server x86_64 8.0.26-1.module_el8.4.0+915+de215114 appstream 25 M
Installing dependencies:
mecab x86_64 0.996-1.module_el8.4.0+589+11e12751.9 appstream 393 k
mysql-errmsg x86_64 8.0.26-1.module_el8.4.0+915+de215114 appstream 598 k
protobuf-lite x86_64 3.5.0-13.el8 appstream 149 k

Install 4 Packages

Total download size: 26 M
Installed size: 132 M
Downloading Packages:
(1/4): mecab-0.996-1.module_el8.4.0+589+11e12751.9.x86_64.rpm 2.0 MB/s | 393 kB 00:00
(2/4): protobuf-lite-3.5.0-13.el8.x86_64.rpm 1.5 MB/s | 149 kB 00:00
(3/4): mysql-errmsg-8.0.26-1.module_el8.4.0+915+de215114.x86_64.rpm 1.8 MB/s | 598 kB 00:00

Total 3.7 MB/s | 26 MB 00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : protobuf-lite-3.5.0-13.el8.x86_64 1/4
Installing : mysql-errmsg-8.0.26-1.module_el8.4.0+915+de215114.x86_64 2/4
Installing : mecab-0.996-1.module_el8.4.0+589+11e12751.9.x86_64 3/4
Running scriptlet: mecab-0.996-1.module_el8.4.0+589+11e12751.9.x86_64 3/4
Running scriptlet: mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64 4/4
Installing : mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64 4/4
Running scriptlet: mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64 4/4
ValueError: File context for /var/log/mysql(/.*)? already defined

Verifying : mecab-0.996-1.module_el8.4.0+589+11e12751.9.x86_64 1/4
Verifying : mysql-errmsg-8.0.26-1.module_el8.4.0+915+de215114.x86_64 2/4
Verifying : mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64 3/4
Verifying : protobuf-lite-3.5.0-13.el8.x86_64 4/4

Installed:
mecab-0.996-1.module_el8.4.0+589+11e12751.9.x86_64 mysql-errmsg-8.0.26-1.module_el8.4.0+915+de215114.x86_64
mysql-server-8.0.26-1.module_el8.4.0+915+de215114.x86_64 protobuf-lite-3.5.0-13.el8.x86_64

Complete!


网站公告

今日签到

点亮在社区的每一天
去签到