Linux平台下phpMyAdmin安裝配置

來源:互聯網
上載者:User

所謂的phpMyAdmin簡單的說就是一種MySQL的管理工具。

透過此一程式,可以直接從web上去管理MySQL,不需要到系統上去執行。

安裝步驟:

1.取得檔案ftp://ohaha.ks.edu.tw/pub/source/php/phpMyAdmin_2.0.5.tar.gz或是

ftp: //ohaha.ks.edu.tw/pub/source/php/c_phpMyAdmin_2.0.5.tar.gz

其中唯一的差別是在於後者不需要再做中文最佳化的動作。

所謂的中文最佳化乃是因為此程式的翻譯者可能是大陸的..所以翻譯不佳

若你覺得沒有關的話,也可以忽略它。

2.我們先採用前者然後再加上中文最佳化。

3.將此檔解壓縮到web伺服器的檔案根目錄

說明白些也就是你放置網頁的地方啦

ex:/usr/local/apache/htdocs/ (這是我網頁存放的位置)

a. # mv phpMyAdmin_2.0.5.tar.gz /usr/local/apache/htdocs/ 移到檔案的根目錄

b. # tar zxvf phpMyAdmin_2.0.5.tar.gz 解壓縮phpMyAdmin_2.0.5.tar.gz

c. 路徑 /usr/local/apache/htdocs/phpMyAdmin

d. 修改設定檔

# vi config.inc.php3

找到下面的部分

$cfgServers[1]['host'] = 'localhost'; // MySQL 的hostname

$cfgServers[1]['port'] = ''; // MySQL 的port 空白表示預設3306

$cfgServers[1]['adv_auth'] = true; // 是否採用進階功能

$cfgServers[1]['stduser'] = 'root'; // MySQL的管理者

$cfgServers[1]['stdpass'] = '123456'; // MySQL管理者的密碼

//我採用root為管理者,密碼為123456 你可以採用自己喜歡的

  • 1
  • 2
  • 下一頁
【內容導航】
第1頁:Linux平台下phpMyAdmin安裝配置 第2頁:Linux平台下phpMyAdmin安裝配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.