先說: 這是以phpMyAdmin2.3.0版來解說的...跟先前的2.2.xx的版本已經不太一樣... 若您不習慣...請自行下載安裝新版本(phpMyAdmin2.3.0) 下載網址在這裡 http://www.phpmyadmin.net/ 進入後..會有這個畫面
OK看到了吧!!圈起來的都是可以下載的....當然是給他下載最新的版本囉!! 要下在哪一個檔案呢??(常常有人問)..... 結論是...只要你能解壓縮後送上你的server或是能送上server後再解壓縮的...都可以...
下載完解壓縮後只要送上去你的server就行了... 只有記得要改一下config.inc.php 內的一些設定值
開啟config.inc.php 照一下以下一些地方
找到這一行
$cfg['PmaAbsoluteUri'] = ''; 將設定值填上你 phpMyAdmin 放上server的目錄 例如 $cfg['PmaAbsoluteUri'] = 'http://www.sdcs.com.tw/phpMyAdmin';
再找到這幾行
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings // (this user must have read-only $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" // and "mysql/db" tables) $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
|