1. 進入 phpMyAdmin,按左方 SQL 小圖示

2. 輸入以下語法,設定你的 root 密碼
SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('你的密碼');
設定完成後 phpMyAdmin 將暫時無法使用

3. 開啟 phpMyAdmin(或 phpMyAdmin/libraries) 目錄中的 config.default.php

4. 找到 $cfg['Servers'][$i]['password'] = '';
改成 $cfg['Servers'][$i]['password'] = '你的密碼';

5. 設定完成!你可以再度登入 phpMyAdmin 了
2006/01/11 10:58 2006/01/11 10:58
2006/01/11 10:58 

phpMyAdmin 的目錄設定若不正確,將無法藉由 phpMyAdmin 讓 php 與 MySQL 溝通喔!設定方法如下:

開啟 phpMyAdmin 目錄下的 config.inc.php

找到 $cfg['PmaAbsoluteUri'] = '';
改成 $cfg['PmaAbsoluteUri'] = '你的 phpMyAdmin 位置';
如果 phpMyAdmin 設於在 Local 端使用,可設定如下例:
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';

當然還是要依你實際位置作修改,以上只是舉例罷了。
2005/08/26 18:24 2005/08/26 18:24
2005/08/26 18:24 

在 phpMyAdmin 錯誤訊息顯示如下:


首先開啟 phpMyAdmin,按左方 SQL 小圖示

輸入以下資料並執行(意思是更改 root 密碼,其中[你的密碼]請自行設定)
UPDATE user SET Password=PASSWORD('你的密碼')
WHERE user='root';

輸入以下資料並執行(意思是系統更新)
FLUSH PRIVILEGES;

開啟 phpMyAdmin 目錄中的 config.inc.php
尋找 $cfg['Servers'][$i]['password'] 約可以在 75 行、133行、166行找到三筆資料:
$cfg['Servers'][$i]['password'] = '';

只要修改第一個即可,將
$cfg['Servers'][$i]['password'] = '';
修改為
$cfg['Servers'][$i]['password'] = '你的密碼';

重新開啟 phpMyAdmin 就可以了。
2005/08/26 17:50 2005/08/26 17:50
2005/08/26 17:50 

在 phpMyAdmin 錯誤訊息顯示如下:


mbstring 是 php 對雙位元字元(如中文)支援的延伸套件,若無此套件,使用中文等雙位元字元時有可能會出現問題。

解決方法:

開啟 C:\windows\php.ini
找到 ;extension=php_mbstring.dll 改成 extension=php_mbstring.dll

這裡以 AppServ PHP Server 作為示範

查看 C:\AppServ\php\extensions 有沒有 php_mbstring.dll 這個檔案,如果沒有的話可以到這裡下載:php_mbstring.dll
然後,也別忘了重新啟動 Apache 伺服器。
2005/08/26 17:08 2005/08/26 17:08
2005/08/26 17:08