phpMyAdmin 是一個網頁介面的 MySQL 資料庫管理工具,它可以讓資料庫管理工作可以在圖形化介面更方便進行而不必去執行SQL指令。在這裏要介紹的是 phpMyAdmin的 2.8.2版要安裝在 Linux Fedora Core 5 中的方法:

STEP 1:先到 phpMyAdmin的官方網站上去下載最近的 phpMyAdmin程式。
STEP 2:下載到目前最新的 phpMyAdmin-2.8.2.tar.gz 檔案,則以下列指令解壓縮它成為一個名為 phpMyAdmin-2.8.2的資料夾。
tar -zxvf phpMyAdmin-2.8.2.tar.gz
STEP 3:將phpMyAdmin-2.8.2的資料夾改名為 phpMyAdmin。
mv phpMyAdmin-2.8.2 phpMyAdmin
STEP 4:將資料夾 phpMyAdmin複製到網頁的根目錄 /var/www/html下。
cp phpMyAdmin /var/www/html
STEP 5:將config.default.php 改名為 config.inc.php,並且複製到/var/www/html/phpMyAdmin 目錄中。
cd /var/www/html/phpMyAdmin/libraries
cp config.default.php /var/www/html/phpMyAdmin/config.inc.php
STEP 6:用文字編輯器 vi 修改 config.inc.php檔案的內容。
輸入 MYSQL使用者名稱及密碼及phpMyAdmin的認證登入方法後,將 config.inc.php檔案存檔。
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'config';更改成
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '1234567';
$cfg['Servers'][$i]['auth_type'] = 'http';
STEP 7:使用 firefox 或 IE網路瀏覽器中輸入下列網址去使用 phpMyAdmin。
http://www.yourwebsite.com.tw/phpMyAdmin
No Pingbacks for this post yet...
一個與您分享Linux經驗的地方.
本站目前共有 740 篇文章。
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 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 | ||