| phpMyAdmin安裝及操作
|
| |
|
| | ● phpMyAdmin安裝方法
|
| | 一、取得軟體 (目前最新版本2.5.1 ── 2003-06-02) 官方網站:http://www.phpmyadmin.net/ 【本地下載】
二、安裝
1. 將phpMyAdmin-2.5.1-php.zip 置放於網頁的主目錄 2. 解壓縮 3. 將解壓縮後的 phpMyAdmin-2.5.1 目錄更改名稱,建議以容易記但不易被人猜到放那裡。
三、設定
1. 利用文晝編輯器修改設定檔 config.inc.php
....(略) * If the auto-detection code does work properly, you can set to TRUE the * $cfg['PmaAbsoluteUri_DisableWarning'] variable below. */ $cfg['PmaAbsoluteUri'] = 'http://140.128.51.xxx/phpMyAdmin/'; (設定 phpMyAdmin 安裝的網址) /** * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set * You should use this if and ONLY if the PmaAbsoluteUri auto-detection * works perfectly. */ $cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
/** * Disable the default warning that is displayed on the DB Details Structure page if * any of the required Tables for the relationfeatures could not be found */ $cfg['PmaNoRelation_DisableWarning'] = FALSE;
/** * Server(s) configuration */ $i = 0; ...(略)..................... $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? (認證模式)
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['password'] = '密碼'; // MySQL password (only needed // with 'config' auth_type)
...(略)
| 認證模式:
- config (不用密碼)
- http 模式認證
- cookie 模式認證
|
| |
|
| |
|
| | ● phpMyAdmin基本操作
|
| |
|
| | 一、建立資料庫

二、建立資料表

三、建立欄位

四、新增資料

五、備份資料

|
| |
|
|
w047 發表在
痞客邦
留言(0)
人氣(
9
)
請先 登入 以發表留言。