phpMyAdmin 3.1.3簡體中文版下載

2010-08-28 10:54:37來源:西部e網(wǎng)作者:

phpMyAdmin 是一個以PHP為基礎(chǔ),以Web-Base方式架構(gòu)在網(wǎng)站主機(jī)上的MySQL的資料庫管理工具。

可以管理整個MySQL服務(wù)器(需要超級用戶),也可以管理單個數(shù)據(jù)庫。為了實(shí)現(xiàn)后一種,你將需要合理設(shè)置MySQL用戶,他只能對允許的數(shù)據(jù)庫進(jìn)行讀/寫。那要等到你看過MySQL手冊中相關(guān)的部分。

下載phpMyAdmin 3.1.3簡體中文版

phpMyAdmin安裝與配置

解壓后得到一個目錄,進(jìn)入相關(guān)目錄中的\libraries目錄,找到 config.default.php文件copy份到上級目錄,并命名為config.inc.php ;

在config.inc.php中

找到 $cfg['PmaAbsoluteUri']

修改你將用于讓虛機(jī)用戶訪問的phpMyAdmin的網(wǎng)址

如:$cfg['PmaAbsoluteUri'] = 'http://ip/phpmyadmin/'; 或$cfg['PmaAbsoluteUri'] = 'http://ip:8899' (寫出訪問phpMyAdmin的絕對URL)

還有這些更改的地方:

$cfg['Servers'][$i]['host'] = 'localhost';(通常用默認(rèn),也有例外)
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?

用cookie。因?yàn)槭蔷W(wǎng)絡(luò)上使用所以這里選擇cookie

$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed自己機(jī)里不用設(shè)置)

注:$cfg['blowfish_secret'] = '';

本機(jī)的話不需要設(shè)置,但是網(wǎng)絡(luò)的話需要設(shè)置成cookie:
$cfg['blowfish_secret'] = 'cookie';

設(shè)置完畢。

打開IE,輸入http://ip/phpmyadmin/(當(dāng)然你設(shè)置不同就用那個網(wǎng)址。),輸入用戶名和密碼后,用phpmyadmin瀏覽相應(yīng)的mysql數(shù)據(jù)庫;

如果設(shè)置$cfg['Servers'][$i]['auth_type'] = 'cookie'; 所以顯示會要求輸入帳號。

$cfg['DefaultLang'] = 'zh'; (這里是選擇語言,zh代表簡體中文的意思)

關(guān)鍵詞:phpMyAdmin

贊助商鏈接: