1. 預設的OS環境:CentOS 6
2.下載 phpMyAdmin-3.4.7-all-languages.tar.gz
3. tar zxfv phpMyAdmin-3.4.7-all-languages.tar.gz
4. mv phpMyAdmin-3.4.7 /usr/local/apache/htdocs/phpmyadmin
5. cd /usr/local/apache/htdocs/phpmyadmin
6. cp config.sample.inc.php config.inc.php
7. vim config.inc.php
8. 搜尋 $cfg['blowfish_secret']= '密碼'; <= 加密用,隨便輸入
9. 搜尋 $cfg['Servers'][$i]['host']='host'; host 改成 127.0.0.1
10. 搜尋 $cfg['Servers'][$i]['AllowNoPassword']= no; no 改成 yes
11. Apache 重新開啟
12. 在 Fedora 16環境,會發生錯誤 "Wrong permissions on configuration file..."
要將phpMyAdmin目錄權限變更(必須再755權限下才可,777權限不行)
shell> chmod -R 755 /usr/local/apache/htdocs/phpMyAdmin
參考文章
01. http://www.newren.cn/article-5-1.html
OK.