Home > etc > phpMyAdmin の設定

phpMyAdmin の設定

  • 2007-11-11 (日) 18:07
  • etc

# yum list | grep phpMyAdmin ← 確認
# yum -y install phpMyAdmin ← インストール
# vi /etc/phpMyAdmin/config.inc.php
$cfg[’blowfish_secret’] = ‘xxxxxx’; ← 適当に追加
$cfg[’Servers’][$i][’auth_type’] = ‘cookie’; ← cookie に変更
$cfg[’Servers’][$i][’user’] = ‘root’; ← ユーザー名を記述
$cfg[’Servers’][$i][’password’] = ‘xxxxxx’; ← パスワードを記述

# vi /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>

allow from 192.168.1 ← 追加
</Directory>

# /etc/rc.d/init.d/httpd restart

ブラウザで http://192.168.1.22/phpMyAdmin/ へアクセス。

完了。

Comments:0

Comment Form
Remember personal info

Trackback+Pingback:0

TrackBack URL for this entry
http://www3.us/2007/11/11/phpmyadmin-%e3%81%ae%e8%a8%ad%e5%ae%9a/trackback/
Listed below are links to weblogs that reference
phpMyAdmin の設定 from nnpooh の :: ひとり言 ::

Home > etc > phpMyAdmin の設定

Links
Search
Feeds

Page Top