回答編集履歴
3
修正
answer
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
$cfg['blowfish_secret'] = '上記で生成したランダムな文字列';
|
26
26
|
|
27
|
-
$cfg['Servers'][$i]['host'] = 'サーバーを分けてなければ127.0 0.1;
|
27
|
+
$cfg['Servers'][$i]['host'] = 'サーバーを分けてなければ127.0 0.1';
|
28
28
|
|
29
29
|
$cfg['Servers'][$i]['controlhost'] = 'サーバーを分けてなければ127.0 0.1';
|
30
30
|
$cfg['Servers'][$i]['controlport'] = 'ポートを変更していなければ3306';
|
2
修正
answer
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
# chmod 644 config.inc.php
|
21
21
|
|
22
22
|
設定ファイルの編集
|
23
|
-
# vi
|
23
|
+
# vi config.inc.php
|
24
24
|
|
25
25
|
$cfg['blowfish_secret'] = '上記で生成したランダムな文字列';
|
26
26
|
|
1
追記
answer
CHANGED
@@ -1,4 +1,35 @@
|
|
1
1
|
設定ファイルは用意・設定していますか?
|
2
2
|
```
|
3
3
|
# cp phpmyadmin/config.sample.inc.php phpmyadmin/config.inc.php
|
4
|
+
```
|
5
|
+
|
6
|
+
追記
|
7
|
+
---
|
8
|
+
以下のような設定をします。ご自身の環境に合わせて設定してください。
|
9
|
+
```
|
10
|
+
mkpasswdコマンドをインストールしてランダムな文字列を生成できるようにする
|
11
|
+
(あると便利というだけで必須ではない)
|
12
|
+
# yum -y install expect
|
13
|
+
|
14
|
+
ランダムな文字列を50文字生成
|
15
|
+
(これで生成された文字列は下記のconfig.inc.phpで使う)
|
16
|
+
# mkpasswd -l 50
|
17
|
+
|
18
|
+
設定ファイルの権限変更
|
19
|
+
(パスは適宜変える)
|
20
|
+
# chmod 644 config.inc.php
|
21
|
+
|
22
|
+
設定ファイルの編集
|
23
|
+
# vi phpmyadmin/config.inc.php
|
24
|
+
|
25
|
+
$cfg['blowfish_secret'] = '上記で生成したランダムな文字列';
|
26
|
+
|
27
|
+
$cfg['Servers'][$i]['host'] = 'サーバーを分けてなければ127.0 0.1;
|
28
|
+
|
29
|
+
$cfg['Servers'][$i]['controlhost'] = 'サーバーを分けてなければ127.0 0.1';
|
30
|
+
$cfg['Servers'][$i]['controlport'] = 'ポートを変更していなければ3306';
|
31
|
+
$cfg['Servers'][$i]['controluser'] = 'ユーザー名';
|
32
|
+
$cfg['Servers'][$i]['controlpass'] = 'パスワード';
|
33
|
+
|
34
|
+
|
4
35
|
```
|