[問題] phpmyadmin開啟 出現#1045錯誤
發表於 : 2005-10-02 18:27
我已經爬過文章了,但是依然不知道如何解決,麻煩可以幫忙解決我的困擾\r
下面是動作步驟之後的問題
一開始開啟phpmyadmin
1.進入phpMyAdmin並執行「權限」
2.執行「更改密碼」
3.再至config.inc.php,更改剛剛更新的密碼\r
4.再開啟http://localhost/phpMyAdmin/index.php
就出現\r
----------------------------
phpMyAdmin 嘗試連線到 MySQL 伺服器, 但伺服器拒絕了連線. 您應於 config.inc.php 內檢查主機名稱, 登入名稱及密碼及確保這些資料是與系統管理人員所提供的 MySQL 伺服器資料相同
錯誤
MySQL 傳回:
#1045 - Access denied for user: 'xxxxx@localhost' (Using password: NO)
---------------------------
我在安裝Appserv沒有輸入帳號和密碼\r
在config.inc.php更改的內文
-------------------------
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$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]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$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'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxxxxx';
-------------------------------
使用的是:
Appserv v2.40
phpMyAdmin 2.5.6
下面是動作步驟之後的問題
一開始開啟phpmyadmin
1.進入phpMyAdmin並執行「權限」
2.執行「更改密碼」
3.再至config.inc.php,更改剛剛更新的密碼\r
4.再開啟http://localhost/phpMyAdmin/index.php
就出現\r
----------------------------
phpMyAdmin 嘗試連線到 MySQL 伺服器, 但伺服器拒絕了連線. 您應於 config.inc.php 內檢查主機名稱, 登入名稱及密碼及確保這些資料是與系統管理人員所提供的 MySQL 伺服器資料相同
錯誤
MySQL 傳回:
#1045 - Access denied for user: 'xxxxx@localhost' (Using password: NO)
---------------------------
我在安裝Appserv沒有輸入帳號和密碼\r
在config.inc.php更改的內文
-------------------------
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$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]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$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'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxxxxx';
-------------------------------
使用的是:
Appserv v2.40
phpMyAdmin 2.5.6
