質問編集履歴
5
追記4
test
CHANGED
File without changes
|
test
CHANGED
@@ -307,3 +307,59 @@
|
|
307
307
|
エラー: 表示するパッケージはありません
|
308
308
|
|
309
309
|
```
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
SCLにてインストールを試みました。
|
314
|
+
|
315
|
+
追記4
|
316
|
+
|
317
|
+
---
|
318
|
+
|
319
|
+
依存性関連をインストールしました:
|
320
|
+
|
321
|
+
完了しました!
|
322
|
+
|
323
|
+
[vagrant@localhost ~]$ scl enable rh-mariadb102 bash
|
324
|
+
|
325
|
+
[vagrant@localhost ~]$ service rh-mariadb102-mariadb start
|
326
|
+
|
327
|
+
Starting rh-mariadb102-mariadb: [失敗]
|
328
|
+
|
329
|
+
[vagrant@localhost ~]$ mysql
|
330
|
+
|
331
|
+
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
332
|
+
|
333
|
+
Your MySQL connection id is 4
|
334
|
+
|
335
|
+
Server version: 5.6.38 MySQL Community Server (GPL)
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
MySQL [(none)]> ;
|
348
|
+
|
349
|
+
ERROR: No query specified
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
MySQL [(none)]> exit
|
354
|
+
|
355
|
+
Bye
|
356
|
+
|
357
|
+
[vagrant@localhost ~]$ mysql –version
|
358
|
+
|
359
|
+
ERROR 1044 (42000): Access denied for user ''@'localhost' to database '–version'
|
360
|
+
|
361
|
+
[vagrant@localhost ~]$ [vagrant@localhost ~]$ mysql –version
|
362
|
+
|
363
|
+
bash: [vagrant@localhost: コマンドが見つかりません
|
364
|
+
|
365
|
+
[vagrant@localhost ~]$
|
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
|
122
122
|
|
123
|
-
追記
|
123
|
+
追記1
|
124
124
|
|
125
125
|
---
|
126
126
|
|
@@ -180,7 +180,7 @@
|
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
-
追記
|
183
|
+
追記2
|
184
184
|
|
185
185
|
---
|
186
186
|
|
@@ -239,3 +239,71 @@
|
|
239
239
|
[vagrant@localhost ~]$
|
240
240
|
|
241
241
|
```
|
242
|
+
|
243
|
+
追記3
|
244
|
+
|
245
|
+
---
|
246
|
+
|
247
|
+
別の質問で教えていただいたコマンドで確認したところやはりリポジトリファイルの追加が出来ていないとも思います。 今どういった状況なのでしょうか...
|
248
|
+
|
249
|
+
```
|
250
|
+
|
251
|
+
[vagrant@localhost ~]$ yum list MariaDB*
|
252
|
+
|
253
|
+
読み込んだプラグイン:fastestmirror
|
254
|
+
|
255
|
+
Loading mirror speeds from cached hostfile
|
256
|
+
|
257
|
+
* base: ftp.tsukuba.wide.ad.jp
|
258
|
+
|
259
|
+
* epel: mirror01.idc.hinet.net
|
260
|
+
|
261
|
+
* extras: ftp.tsukuba.wide.ad.jp
|
262
|
+
|
263
|
+
* remi-safe: mirror.bebout.net
|
264
|
+
|
265
|
+
* updates: ftp.tsukuba.wide.ad.jp
|
266
|
+
|
267
|
+
エラー: 表示するパッケージはありません
|
268
|
+
|
269
|
+
[vagrant@localhost ~]$ yum list 'MariaDB*'
|
270
|
+
|
271
|
+
読み込んだプラグイン:fastestmirror
|
272
|
+
|
273
|
+
Loading mirror speeds from cached hostfile
|
274
|
+
|
275
|
+
* base: ftp.tsukuba.wide.ad.jp
|
276
|
+
|
277
|
+
* epel: mirror01.idc.hinet.net
|
278
|
+
|
279
|
+
* extras: ftp.tsukuba.wide.ad.jp
|
280
|
+
|
281
|
+
* remi-safe: mirror.bebout.net
|
282
|
+
|
283
|
+
* updates: ftp.tsukuba.wide.ad.jp
|
284
|
+
|
285
|
+
エラー: 表示するパッケージはありません
|
286
|
+
|
287
|
+
[vagrant@localhost ~]$ su -
|
288
|
+
|
289
|
+
パスワード:
|
290
|
+
|
291
|
+
[root@localhost ~]# yum list MariaDB*
|
292
|
+
|
293
|
+
読み込んだプラグイン:fastestmirror
|
294
|
+
|
295
|
+
Loading mirror speeds from cached hostfile
|
296
|
+
|
297
|
+
* base: ftp.tsukuba.wide.ad.jp
|
298
|
+
|
299
|
+
* epel: ftp.riken.jp
|
300
|
+
|
301
|
+
* extras: ftp.tsukuba.wide.ad.jp
|
302
|
+
|
303
|
+
* remi-safe: mirrors.thzhost.com
|
304
|
+
|
305
|
+
* updates: ftp.tsukuba.wide.ad.jp
|
306
|
+
|
307
|
+
エラー: 表示するパッケージはありません
|
308
|
+
|
309
|
+
```
|
3
解決策後も解決せず、そのエラーコードの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -177,3 +177,65 @@
|
|
177
177
|
コード
|
178
178
|
|
179
179
|
```
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
追記
|
184
|
+
|
185
|
+
---
|
186
|
+
|
187
|
+
上記作業後インストールしてみましたが冒頭と同じエラーがでました。
|
188
|
+
|
189
|
+
まだ何か間違っていますでしょうか...
|
190
|
+
|
191
|
+
```
|
192
|
+
|
193
|
+
[vagrant@localhost ~]$ sudo yum install MariaDB-server MariaDB-client
|
194
|
+
|
195
|
+
読み込んだプラグイン:fastestmirror
|
196
|
+
|
197
|
+
インストール処理の設定をしています
|
198
|
+
|
199
|
+
Loading mirror speeds from cached hostfile
|
200
|
+
|
201
|
+
epel/metalink | 7.1 kB 00:00
|
202
|
+
|
203
|
+
* base: ftp.tsukuba.wide.ad.jp
|
204
|
+
|
205
|
+
* epel: ftp.riken.jp
|
206
|
+
|
207
|
+
* extras: ftp.tsukuba.wide.ad.jp
|
208
|
+
|
209
|
+
* remi-safe: mirrors.thzhost.com
|
210
|
+
|
211
|
+
* updates: ftp.tsukuba.wide.ad.jp
|
212
|
+
|
213
|
+
base | 3.7 kB 00:00
|
214
|
+
|
215
|
+
extras | 3.4 kB 00:00
|
216
|
+
|
217
|
+
mariadb | 2.9 kB 00:00
|
218
|
+
|
219
|
+
mariadb/primary_db | 22 kB 00:00
|
220
|
+
|
221
|
+
mysql-connectors-community | 2.5 kB 00:00
|
222
|
+
|
223
|
+
mysql-tools-community | 2.5 kB 00:00
|
224
|
+
|
225
|
+
mysql56-community | 2.5 kB 00:00
|
226
|
+
|
227
|
+
nodesource | 2.5 kB 00:00
|
228
|
+
|
229
|
+
remi-safe | 2.9 kB 00:00
|
230
|
+
|
231
|
+
updates | 3.4 kB 00:00
|
232
|
+
|
233
|
+
パッケージ MariaDB-server は利用できません。
|
234
|
+
|
235
|
+
パッケージ MariaDB-client は利用できません。
|
236
|
+
|
237
|
+
エラー: 何もしません
|
238
|
+
|
239
|
+
[vagrant@localhost ~]$
|
240
|
+
|
241
|
+
```
|
2
解決方法の実行結果
test
CHANGED
File without changes
|
test
CHANGED
@@ -117,3 +117,63 @@
|
|
117
117
|
|
118
118
|
|
119
119
|
ご教示いただけるとたすかります。 よろしくお願いします。
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
追記
|
124
|
+
|
125
|
+
---
|
126
|
+
|
127
|
+
コメントにてご教示いただき、まずはリポジトリの追加に成功したかと思います。確信まだありませんがコマンドを追記します。
|
128
|
+
|
129
|
+
```
|
130
|
+
|
131
|
+
[vagrant@localhost ~]$ yum repolist enabled
|
132
|
+
|
133
|
+
読み込んだプラグイン:fastestmirror
|
134
|
+
|
135
|
+
Loading mirror speeds from cached hostfile
|
136
|
+
|
137
|
+
* base: ftp.tsukuba.wide.ad.jp
|
138
|
+
|
139
|
+
* epel: mirror01.idc.hinet.net
|
140
|
+
|
141
|
+
* extras: ftp.tsukuba.wide.ad.jp
|
142
|
+
|
143
|
+
* remi-safe: mirror.bebout.net
|
144
|
+
|
145
|
+
* updates: ftp.tsukuba.wide.ad.jp
|
146
|
+
|
147
|
+
mariadb | 2.9 kB 00:00
|
148
|
+
|
149
|
+
mariadb/primary_db | 22 kB 00:00
|
150
|
+
|
151
|
+
リポジトリー ID リポジトリー名 状態
|
152
|
+
|
153
|
+
base CentOS-6 - Base 6,706
|
154
|
+
|
155
|
+
epel Extra Packages for Enterprise Linux 6 - x86_64 12,448
|
156
|
+
|
157
|
+
extras CentOS-6 - Extras 47
|
158
|
+
|
159
|
+
mariadb MariaDB 20
|
160
|
+
|
161
|
+
mysql-connectors-community MySQL Connectors Community 45
|
162
|
+
|
163
|
+
mysql-tools-community MySQL Tools Community 55
|
164
|
+
|
165
|
+
mysql56-community MySQL 5.6 Community Server 415
|
166
|
+
|
167
|
+
nodesource Node.js Packages for Enterprise Linux 6 - x86_ 61
|
168
|
+
|
169
|
+
remi-safe Safe Remi's RPM repository for Enterprise Linu 2,284
|
170
|
+
|
171
|
+
updates CentOS-6 - Updates 945
|
172
|
+
|
173
|
+
repolist: 23,026
|
174
|
+
|
175
|
+
[vagrant@localhost ~]$
|
176
|
+
|
177
|
+
コード
|
178
|
+
|
179
|
+
```
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
|
111
111
|
```
|
112
112
|
|
113
|
-
そして冒頭のインストールを実行しましたが
|
113
|
+
そして冒頭のインストールを実行しましたがエラーになりました。
|
114
114
|
|
115
115
|
リポジトリは追加できていないのでしょうか?
|
116
116
|
|