0%

yum/dnf安装mariadb10.4.8(最新版)

  近期想在新出的CentOS8上安装一下最新版的mariadb10.4.8,不过又嫌源码编译太麻烦费时间。就想去找找有没有yum源可用。

  果然官网上已经放出了yum安装的repo源了,也支持到CentOS8了——http://mirror.aarnet.edu.au/pub/MariaDB//mariadb-10.4.8/yum/centos/8/x86_64/
  那就手动加一个yum源吧。
  vim /etc/yum.repos.d/mariadb1048.repo

1
2
3
4
5
[mariadb10.4.8]
name=Mariadb10.4.8 RPM repository for Linux $releasever - $basearch
baseurl=http://mirror.aarnet.edu.au/pub/MariaDB//mariadb-10.4.8/yum/centos/$releasever/$basearch/
enabled=1
gpgcheck=0

  加好yum源后,执行安装dnf install mariadb-server -y

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
aliyun                                                                                               4.7 kB/s | 5.3 kB     00:01    
cdrom-AppStream 4.1 MB/s | 4.3 kB 00:00
cdrom-base 3.8 MB/s | 3.9 kB 00:00
Mariadb10.4.8 RPM repository for Linux 8 - x86_64 1.8 kB/s | 2.9 kB 00:01
Dependencies resolved.
=====================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================
Installing:
mariadb-server x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 16 M
Installing dependencies:
mariadb x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 6.2 M
mariadb-common x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 62 k
mariadb-connector-c x86_64 3.0.7-1.el8 cdrom-AppStream 148 k
mariadb-errmsg x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 232 k
perl-DBD-MySQL x86_64 4.046-2.module_el8.0.0+72+668237d8 cdrom-AppStream 156 k
perl-DBI x86_64 1.641-2.module_el8.0.0+66+fe1eca09 cdrom-AppStream 740 k
perl-Digest noarch 1.17-395.el8 cdrom-AppStream 27 k
perl-Digest-MD5 x86_64 2.55-396.el8 cdrom-AppStream 37 k
perl-Net-SSLeay x86_64 1.85-6.el8 cdrom-AppStream 358 k
perl-URI noarch 1.73-3.el8 cdrom-AppStream 116 k
perl-libnet noarch 3.11-3.el8 cdrom-AppStream 121 k
perl-Carp noarch 1.42-396.el8 cdrom-base 30 k
perl-Data-Dumper x86_64 2.167-399.el8 cdrom-base 58 k
perl-Encode x86_64 4:2.97-3.el8 cdrom-base 1.5 M
perl-Errno x86_64 1.28-416.el8 cdrom-base 76 k
perl-Exporter noarch 5.72-396.el8 cdrom-base 34 k
perl-File-Path noarch 2.15-2.el8 cdrom-base 38 k
perl-File-Temp noarch 0.230.600-1.el8 cdrom-base 63 k
perl-Getopt-Long noarch 1:2.50-4.el8 cdrom-base 63 k
perl-HTTP-Tiny noarch 0.074-1.el8 cdrom-base 58 k
perl-IO x86_64 1.38-416.el8 cdrom-base 141 k
perl-MIME-Base64 x86_64 3.15-396.el8 cdrom-base 31 k
perl-Math-BigInt noarch 1:1.9998.11-5.el8 cdrom-base 195 k
perl-Math-Complex noarch 1.59-416.el8 cdrom-base 108 k
perl-PathTools x86_64 3.74-1.el8 cdrom-base 90 k
perl-Pod-Escapes noarch 1:1.07-395.el8 cdrom-base 20 k
perl-Pod-Perldoc noarch 3.28-396.el8 cdrom-base 86 k
perl-Pod-Simple noarch 1:3.35-395.el8 cdrom-base 213 k
perl-Pod-Usage noarch 4:1.69-395.el8 cdrom-base 34 k
perl-Scalar-List-Utils x86_64 3:1.49-2.el8 cdrom-base 68 k
perl-Socket x86_64 4:2.027-2.el8 cdrom-base 59 k
perl-Storable x86_64 1:3.11-3.el8 cdrom-base 98 k
perl-Term-ANSIColor noarch 4.06-396.el8 cdrom-base 46 k
perl-Term-Cap noarch 1.17-395.el8 cdrom-base 23 k
perl-Text-ParseWords noarch 3.30-395.el8 cdrom-base 18 k
perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 cdrom-base 24 k
perl-Time-Local noarch 1:1.280-1.el8 cdrom-base 34 k
perl-Unicode-Normalize x86_64 1.25-396.el8 cdrom-base 82 k
perl-constant noarch 1.33-396.el8 cdrom-base 25 k
perl-interpreter x86_64 4:5.26.3-416.el8 cdrom-base 6.3 M
perl-libs x86_64 4:5.26.3-416.el8 cdrom-base 1.6 M
perl-macros x86_64 4:5.26.3-416.el8 cdrom-base 72 k
perl-parent noarch 1:0.237-1.el8 cdrom-base 20 k
perl-podlators noarch 4.11-1.el8 cdrom-base 118 k
perl-threads x86_64 1:2.21-2.el8 cdrom-base 61 k
perl-threads-shared x86_64 1.58-2.el8 cdrom-base 48 k
psmisc x86_64 23.1-3.el8 cdrom-base 151 k
MariaDB-client x86_64 10.4.8-1.el8 mariadb10.4.8 12 M
MariaDB-common x86_64 10.4.8-1.el8 mariadb10.4.8 87 k
Installing weak dependencies:
mariadb-backup x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 6.2 M
mariadb-gssapi-server x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 49 k
mariadb-server-utils x86_64 3:10.3.11-2.module_el8.0.0+35+6f2527ed cdrom-AppStream 1.6 M
perl-IO-Socket-IP noarch 0.39-5.el8 cdrom-AppStream 47 k
perl-IO-Socket-SSL noarch 2.060-2.el8 cdrom-AppStream 289 k
perl-Mozilla-CA noarch 20160104-7.el8 cdrom-AppStream 15 k

Transaction Summary
=====================================================================================================================================
Install 56 Packages

Total size: 56 M
Total download size: 12 M
Installed size: 260 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): MariaDB-common-10.4.8-1.el8.x86_64.rpm 35 kB/s | 87 kB 00:02
(2/2): MariaDB-client-10.4.8-1.el8.x86_64.rpm 195 kB/s | 12 MB 01:02
-------------------------------------------------------------------------------------------------------------------------------------
Total 197 kB/s | 12 MB 01:02
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
file /usr/bin/msql2mysql conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysql conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysql_find_rows conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysql_plugin conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysql_waitpid conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlaccess conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqladmin conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlbinlog conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlcheck conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqldump conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlimport conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlshow conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/bin/mysqlslap conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/msql2mysql.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysql.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysql_find_rows.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysql_plugin.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysql_waitpid.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlaccess.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqladmin.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlbinlog.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlcheck.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqldump.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlimport.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlshow.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64
file /usr/share/man/man1/mysqlslap.1.gz conflicts between attempted installs of mariadb-3:10.3.11-2.module_el8.0.0+35+6f2527ed.x86_64 and MariaDB-client-10.4.8-1.el8.x86_64

Error Summary
-------------

  竟然报错了,说是版本冲突。仔细一看,装的是本地光盘的mariadb-sever 3:10.3.11-2.module_el8.0.0+35+6f2527ed.用的是本地yum光盘yum源,看了下mariadb官网上的软件名称叫MariaDB-server-10.4.8-1.el8.x86_64.rpm,那就重新换成大写,dnf install MariaDB-server.还是报错:

1
2
3
4
5
[root@CentOS8 ~]#yum install MariaDB-server
Last metadata expiration check: 0:05:33 ago on Sat 12 Oct 2019 10:19:15 AM CST.
No match for argument: MariaDB-server
* Maybe you meant: mariadb-server
Error: Unable to find a match

  那没办法,把本地光盘yum源禁用掉再试试吧

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[root@CentOS8 ~]#vim /etc/yum.repos.d/cdrom.repo 
[root@CentOS8 ~]#yum install mariadb-server
Last metadata expiration check: 0:13:24 ago on Sat 12 Oct 2019 10:34:12 AM CST.
No match for argument: mariadb-server
* Maybe you meant: MariaDB-server
Error: Unable to find a match
[root@CentOS8 ~]#yum install MariaDB-server
Last metadata expiration check: 0:13:36 ago on Sat 12 Oct 2019 10:34:12 AM CST.
Error:
Problem: cannot install the best candidate for the job
- nothing provides rsync needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(strict) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides /usr/bin/perl needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(vars) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(Getopt::Long) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(POSIX) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(File::Basename) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(File::Path) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(Data::Dumper) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(File::Temp) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(File::Copy) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(DBI) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides perl(Sys::Hostname) needed by MariaDB-server-10.4.8-1.el8.x86_64
- nothing provides lsof needed by MariaDB-server-10.4.8-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

  这次倒是不能识别小写mariadb,只能识别大写了MariaDB。不过没有了本地光盘yum源,我这是最小安装的系统,也没法安装依赖了啊。这就陷入两难问题了。如果开启本地光盘yum源,无论后跟版本号或是大写都会提示找不到匹配项,小写的话就会去装mariadb-server3XXX版本,不开启本地光盘yum源的话,就没法装所需依赖了。
  突然想起可以直接用包管理工具安装rpm包来解决依赖性的问题,还可以指定要按的主程序包。那就试试直接看:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
[root@CentOS8 ~]#dnf install http://mirror.aarnet.edu.au/pub/MariaDB//mariadb-10.4.8/yum/centos/8/x86_64/rpms/MariaDB-server-10.4.8-1.el8.x86_64.rpm
Last metadata expiration check: 0:00:25 ago on Sat 12 Oct 2019 10:51:11 AM CST.
MariaDB-server-10.4.8-1.el8.x86_64.rpm 197 kB/s | 26 MB 02:14
Dependencies resolved.
=====================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================
Installing:
MariaDB-server x86_64 10.4.8-1.el8 @commandline 26 M
Installing dependencies:
boost-program-options x86_64 1.66.0-6.el8 cdrom-AppStream 143 k
perl-DBI x86_64 1.641-2.module_el8.0.0+66+fe1eca09 cdrom-AppStream 740 k
perl-Digest noarch 1.17-395.el8 cdrom-AppStream 27 k
perl-Digest-MD5 x86_64 2.55-396.el8 cdrom-AppStream 37 k
perl-Net-SSLeay x86_64 1.85-6.el8 cdrom-AppStream 358 k
perl-URI noarch 1.73-3.el8 cdrom-AppStream 116 k
perl-libnet noarch 3.11-3.el8 cdrom-AppStream 121 k
lsof x86_64 4.91-2.el8 cdrom-base 253 k
perl-Carp noarch 1.42-396.el8 cdrom-base 30 k
perl-Data-Dumper x86_64 2.167-399.el8 cdrom-base 58 k
perl-Encode x86_64 4:2.97-3.el8 cdrom-base 1.5 M
perl-Errno x86_64 1.28-416.el8 cdrom-base 76 k
perl-Exporter noarch 5.72-396.el8 cdrom-base 34 k
perl-File-Path noarch 2.15-2.el8 cdrom-base 38 k
perl-File-Temp noarch 0.230.600-1.el8 cdrom-base 63 k
perl-Getopt-Long noarch 1:2.50-4.el8 cdrom-base 63 k
perl-HTTP-Tiny noarch 0.074-1.el8 cdrom-base 58 k
perl-IO x86_64 1.38-416.el8 cdrom-base 141 k
perl-MIME-Base64 x86_64 3.15-396.el8 cdrom-base 31 k
perl-Math-BigInt noarch 1:1.9998.11-5.el8 cdrom-base 195 k
perl-Math-Complex noarch 1.59-416.el8 cdrom-base 108 k
perl-PathTools x86_64 3.74-1.el8 cdrom-base 90 k
perl-Pod-Escapes noarch 1:1.07-395.el8 cdrom-base 20 k
perl-Pod-Perldoc noarch 3.28-396.el8 cdrom-base 86 k
perl-Pod-Simple noarch 1:3.35-395.el8 cdrom-base 213 k
perl-Pod-Usage noarch 4:1.69-395.el8 cdrom-base 34 k
perl-Scalar-List-Utils x86_64 3:1.49-2.el8 cdrom-base 68 k
perl-Socket x86_64 4:2.027-2.el8 cdrom-base 59 k
perl-Storable x86_64 1:3.11-3.el8 cdrom-base 98 k
perl-Term-ANSIColor noarch 4.06-396.el8 cdrom-base 46 k
perl-Term-Cap noarch 1.17-395.el8 cdrom-base 23 k
perl-Text-ParseWords noarch 3.30-395.el8 cdrom-base 18 k
perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 cdrom-base 24 k
perl-Time-Local noarch 1:1.280-1.el8 cdrom-base 34 k
perl-Unicode-Normalize x86_64 1.25-396.el8 cdrom-base 82 k
perl-constant noarch 1.33-396.el8 cdrom-base 25 k
perl-interpreter x86_64 4:5.26.3-416.el8 cdrom-base 6.3 M
perl-libs x86_64 4:5.26.3-416.el8 cdrom-base 1.6 M
perl-macros x86_64 4:5.26.3-416.el8 cdrom-base 72 k
perl-parent noarch 1:0.237-1.el8 cdrom-base 20 k
perl-podlators noarch 4.11-1.el8 cdrom-base 118 k
perl-threads x86_64 1:2.21-2.el8 cdrom-base 61 k
perl-threads-shared x86_64 1.58-2.el8 cdrom-base 48 k
rsync x86_64 3.1.3-4.el8 cdrom-base 404 k
MariaDB-client x86_64 10.4.8-1.el8 mariadb10.4.8 12 M
MariaDB-common x86_64 10.4.8-1.el8 mariadb10.4.8 87 k
galera-4 x86_64 26.4.2-1.rhel8.0.el8 mariadb10.4.8 13 M
Installing weak dependencies:
perl-IO-Socket-IP noarch 0.39-5.el8 cdrom-AppStream 47 k
perl-IO-Socket-SSL noarch 2.060-2.el8 cdrom-AppStream 289 k
perl-Mozilla-CA noarch 20160104-7.el8 cdrom-AppStream 15 k

Transaction Summary
=====================================================================================================================================
Install 51 Packages

Total size: 65 M
Total download size: 25 M
Installed size: 236 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): MariaDB-common-10.4.8-1.el8.x86_64.rpm 35 kB/s | 87 kB 00:02
(2/3): MariaDB-client-10.4.8-1.el8.x86_64.rpm 203 kB/s | 12 MB 00:59
(3/3): galera-4-26.4.2-1.rhel8.0.el8.x86_64.rpm 198 kB/s | 13 MB 01:08
-------------------------------------------------------------------------------------------------------------------------------------
Total 376 kB/s | 25 MB 01:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : perl-Exporter-5.72-396.el8.noarch 1/51
Installing : perl-libs-4:5.26.3-416.el8.x86_64 2/51
Installing : perl-Carp-1.42-396.el8.noarch 3/51
Installing : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 4/51
Installing : perl-parent-1:0.237-1.el8.noarch 5/51
Installing : perl-Text-ParseWords-3.30-395.el8.noarch 6/51
Running scriptlet: MariaDB-common-10.4.8-1.el8.x86_64 7/51
Installing : MariaDB-common-10.4.8-1.el8.x86_64 7/51
Running scriptlet: MariaDB-common-10.4.8-1.el8.x86_64 7/51
Installing : perl-Term-ANSIColor-4.06-396.el8.noarch 8/51
Installing : perl-macros-4:5.26.3-416.el8.x86_64 9/51
Installing : perl-Errno-1.28-416.el8.x86_64 10/51
Installing : perl-Socket-4:2.027-2.el8.x86_64 11/51
Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 12/51
Installing : perl-Unicode-Normalize-1.25-396.el8.x86_64 13/51
Installing : perl-File-Path-2.15-2.el8.noarch 14/51
Installing : perl-IO-1.38-416.el8.x86_64 15/51
Installing : perl-PathTools-3.74-1.el8.x86_64 16/51
Installing : perl-constant-1.33-396.el8.noarch 17/51
Installing : perl-threads-1:2.21-2.el8.x86_64 18/51
Installing : perl-threads-shared-1.58-2.el8.x86_64 19/51
Installing : perl-interpreter-4:5.26.3-416.el8.x86_64 20/51
Installing : perl-MIME-Base64-3.15-396.el8.x86_64 21/51
Installing : perl-IO-Socket-IP-0.39-5.el8.noarch 22/51
Installing : perl-Data-Dumper-2.167-399.el8.x86_64 23/51
Installing : perl-File-Temp-0.230.600-1.el8.noarch 24/51
Installing : perl-Storable-1:3.11-3.el8.x86_64 25/51
Installing : perl-Time-Local-1:1.280-1.el8.noarch 26/51
Installing : perl-Digest-1.17-395.el8.noarch 27/51
Installing : perl-Digest-MD5-2.55-396.el8.x86_64 28/51
Installing : perl-Net-SSLeay-1.85-6.el8.x86_64 29/51
Installing : perl-Math-Complex-1.59-416.el8.noarch 30/51
Installing : perl-Math-BigInt-1:1.9998.11-5.el8.noarch 31/51
Installing : perl-Pod-Escapes-1:1.07-395.el8.noarch 32/51
Installing : perl-Term-Cap-1.17-395.el8.noarch 33/51
Installing : perl-Mozilla-CA-20160104-7.el8.noarch 34/51
Installing : perl-Encode-4:2.97-3.el8.x86_64 35/51
Installing : perl-Pod-Simple-1:3.35-395.el8.noarch 36/51
Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 37/51
Installing : perl-podlators-4.11-1.el8.noarch 38/51
Installing : perl-Pod-Usage-4:1.69-395.el8.noarch 39/51
Installing : perl-Pod-Perldoc-3.28-396.el8.noarch 40/51
Installing : perl-HTTP-Tiny-0.074-1.el8.noarch 41/51
Installing : perl-IO-Socket-SSL-2.060-2.el8.noarch 42/51
Installing : perl-libnet-3.11-3.el8.noarch 43/51
Installing : perl-URI-1.73-3.el8.noarch 44/51
Installing : perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64 45/51
Running scriptlet: MariaDB-client-10.4.8-1.el8.x86_64 46/51
Installing : MariaDB-client-10.4.8-1.el8.x86_64 46/51
Running scriptlet: MariaDB-client-10.4.8-1.el8.x86_64 46/51
Installing : rsync-3.1.3-4.el8.x86_64 47/51
Installing : lsof-4.91-2.el8.x86_64 48/51
Installing : boost-program-options-1.66.0-6.el8.x86_64 49/51
Running scriptlet: boost-program-options-1.66.0-6.el8.x86_64 49/51
Running scriptlet: galera-4-26.4.2-1.rhel8.0.el8.x86_64 50/51
Installing : galera-4-26.4.2-1.rhel8.0.el8.x86_64 50/51
Running scriptlet: galera-4-26.4.2-1.rhel8.0.el8.x86_64 50/51
Running scriptlet: MariaDB-server-10.4.8-1.el8.x86_64 51/51
Installing : MariaDB-server-10.4.8-1.el8.x86_64 51/51
Running scriptlet: MariaDB-server-10.4.8-1.el8.x86_64 51/51


Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is mysql@localhost, it has no password either, but
you need to be the system 'mysql' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/


Verifying : boost-program-options-1.66.0-6.el8.x86_64 1/51
Verifying : perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64 2/51
Verifying : perl-Digest-1.17-395.el8.noarch 3/51
Verifying : perl-Digest-MD5-2.55-396.el8.x86_64 4/51
Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 5/51
Verifying : perl-IO-Socket-SSL-2.060-2.el8.noarch 6/51
Verifying : perl-Mozilla-CA-20160104-7.el8.noarch 7/51
Verifying : perl-Net-SSLeay-1.85-6.el8.x86_64 8/51
Verifying : perl-URI-1.73-3.el8.noarch 9/51
Verifying : perl-libnet-3.11-3.el8.noarch 10/51
Verifying : lsof-4.91-2.el8.x86_64 11/51
Verifying : perl-Carp-1.42-396.el8.noarch 12/51
Verifying : perl-Data-Dumper-2.167-399.el8.x86_64 13/51
Verifying : perl-Encode-4:2.97-3.el8.x86_64 14/51
Verifying : perl-Errno-1.28-416.el8.x86_64 15/51
Verifying : perl-Exporter-5.72-396.el8.noarch 16/51
Verifying : perl-File-Path-2.15-2.el8.noarch 17/51
Verifying : perl-File-Temp-0.230.600-1.el8.noarch 18/51
Verifying : perl-Getopt-Long-1:2.50-4.el8.noarch 19/51
Verifying : perl-HTTP-Tiny-0.074-1.el8.noarch 20/51
Verifying : perl-IO-1.38-416.el8.x86_64 21/51
Verifying : perl-MIME-Base64-3.15-396.el8.x86_64 22/51
Verifying : perl-Math-BigInt-1:1.9998.11-5.el8.noarch 23/51
Verifying : perl-Math-Complex-1.59-416.el8.noarch 24/51
Verifying : perl-PathTools-3.74-1.el8.x86_64 25/51
Verifying : perl-Pod-Escapes-1:1.07-395.el8.noarch 26/51
Verifying : perl-Pod-Perldoc-3.28-396.el8.noarch 27/51
Verifying : perl-Pod-Simple-1:3.35-395.el8.noarch 28/51
Verifying : perl-Pod-Usage-4:1.69-395.el8.noarch 29/51
Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 30/51
Verifying : perl-Socket-4:2.027-2.el8.x86_64 31/51
Verifying : perl-Storable-1:3.11-3.el8.x86_64 32/51
Verifying : perl-Term-ANSIColor-4.06-396.el8.noarch 33/51
Verifying : perl-Term-Cap-1.17-395.el8.noarch 34/51
Verifying : perl-Text-ParseWords-3.30-395.el8.noarch 35/51
Verifying : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 36/51
Verifying : perl-Time-Local-1:1.280-1.el8.noarch 37/51
Verifying : perl-Unicode-Normalize-1.25-396.el8.x86_64 38/51
Verifying : perl-constant-1.33-396.el8.noarch 39/51
Verifying : perl-interpreter-4:5.26.3-416.el8.x86_64 40/51
Verifying : perl-libs-4:5.26.3-416.el8.x86_64 41/51
Verifying : perl-macros-4:5.26.3-416.el8.x86_64 42/51
Verifying : perl-parent-1:0.237-1.el8.noarch 43/51
Verifying : perl-podlators-4.11-1.el8.noarch 44/51
Verifying : perl-threads-1:2.21-2.el8.x86_64 45/51
Verifying : perl-threads-shared-1.58-2.el8.x86_64 46/51
Verifying : rsync-3.1.3-4.el8.x86_64 47/51
Verifying : MariaDB-client-10.4.8-1.el8.x86_64 48/51
Verifying : MariaDB-common-10.4.8-1.el8.x86_64 49/51
Verifying : galera-4-26.4.2-1.rhel8.0.el8.x86_64 50/51
Verifying : MariaDB-server-10.4.8-1.el8.x86_64 51/51

Installed:
MariaDB-server-10.4.8-1.el8.x86_64 perl-IO-Socket-IP-0.39-5.el8.noarch
perl-IO-Socket-SSL-2.060-2.el8.noarch perl-Mozilla-CA-20160104-7.el8.noarch
boost-program-options-1.66.0-6.el8.x86_64 perl-DBI-1.641-2.module_el8.0.0+66+fe1eca09.x86_64
perl-Digest-1.17-395.el8.noarch perl-Digest-MD5-2.55-396.el8.x86_64
perl-Net-SSLeay-1.85-6.el8.x86_64 perl-URI-1.73-3.el8.noarch
perl-libnet-3.11-3.el8.noarch lsof-4.91-2.el8.x86_64
perl-Carp-1.42-396.el8.noarch perl-Data-Dumper-2.167-399.el8.x86_64
perl-Encode-4:2.97-3.el8.x86_64 perl-Errno-1.28-416.el8.x86_64
perl-Exporter-5.72-396.el8.noarch perl-File-Path-2.15-2.el8.noarch
perl-File-Temp-0.230.600-1.el8.noarch perl-Getopt-Long-1:2.50-4.el8.noarch
perl-HTTP-Tiny-0.074-1.el8.noarch perl-IO-1.38-416.el8.x86_64
perl-MIME-Base64-3.15-396.el8.x86_64 perl-Math-BigInt-1:1.9998.11-5.el8.noarch
perl-Math-Complex-1.59-416.el8.noarch perl-PathTools-3.74-1.el8.x86_64
perl-Pod-Escapes-1:1.07-395.el8.noarch perl-Pod-Perldoc-3.28-396.el8.noarch
perl-Pod-Simple-1:3.35-395.el8.noarch perl-Pod-Usage-4:1.69-395.el8.noarch
perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 perl-Socket-4:2.027-2.el8.x86_64
perl-Storable-1:3.11-3.el8.x86_64 perl-Term-ANSIColor-4.06-396.el8.noarch
perl-Term-Cap-1.17-395.el8.noarch perl-Text-ParseWords-3.30-395.el8.noarch
perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch perl-Time-Local-1:1.280-1.el8.noarch
perl-Unicode-Normalize-1.25-396.el8.x86_64 perl-constant-1.33-396.el8.noarch
perl-interpreter-4:5.26.3-416.el8.x86_64 perl-libs-4:5.26.3-416.el8.x86_64
perl-macros-4:5.26.3-416.el8.x86_64 perl-parent-1:0.237-1.el8.noarch
perl-podlators-4.11-1.el8.noarch perl-threads-1:2.21-2.el8.x86_64
perl-threads-shared-1.58-2.el8.x86_64 rsync-3.1.3-4.el8.x86_64
MariaDB-client-10.4.8-1.el8.x86_64 MariaDB-common-10.4.8-1.el8.x86_64
galera-4-26.4.2-1.rhel8.0.el8.x86_64

Complete!

  果然成功了。问题解决。

------------------------------- The End -------------------------------
It's very nice of you to support me.