[問題] 關於 Access denied for user 'root'@'localhost'
發表於 : 2007-04-23 14:52
抱歉 ,爬文爬很久 ,但沒發現我的問題解決方法 ,
所以就厚臉皮發新帖求助了 ....
我的軟體安裝的順序是
0. jdk-6u1-windows-i586-p
1. mysql-essential-5.0.37-win32
2. Navicat MySQL 7.24
3. apache_2.2.4-win32-x86-no_ssl
4. php-5.2.1-Win32
5. phpMyAdmin-2.10.0.2-all-languages
參考論壇數個教學帖反覆檢查後 ,還是有這個問題無從解決 ....
請問是哪裡的設定出錯了 ??
在 IE 輸入 http://localhost/hphmyadmin 後 ,第一個畫面就是下面這樣 .
拒絕存取
錯誤
MySQL 傳回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

按右下方的 開啟新 phpMyAdmin 視窗
會要求輸入 使用者名稱與密碼
輸入後就進入 phpMyAdmin 的管理畫面了
config.inc.php內的
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '******';
也設定好多次了 (用***取代密碼)
請問要如何解決 ?? 謝謝 !!
所以就厚臉皮發新帖求助了 ....
我的軟體安裝的順序是
0. jdk-6u1-windows-i586-p
1. mysql-essential-5.0.37-win32
2. Navicat MySQL 7.24
3. apache_2.2.4-win32-x86-no_ssl
4. php-5.2.1-Win32
5. phpMyAdmin-2.10.0.2-all-languages
參考論壇數個教學帖反覆檢查後 ,還是有這個問題無從解決 ....
請問是哪裡的設定出錯了 ??
在 IE 輸入 http://localhost/hphmyadmin 後 ,第一個畫面就是下面這樣 .
拒絕存取
錯誤
MySQL 傳回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

按右下方的 開啟新 phpMyAdmin 視窗
會要求輸入 使用者名稱與密碼
輸入後就進入 phpMyAdmin 的管理畫面了
config.inc.php內的
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '******';
也設定好多次了 (用***取代密碼)
請問要如何解決 ?? 謝謝 !!