1 頁 (共 1 頁)

[問題] 我已照作 [教學]phpMyAdmin 登入 結果自己也無法登入

發表於 : 2005-05-08 12:48
KevinHsu
我已照作
[教學]phpMyAdmin 登入\r
http://phpbb-tw.net/phpbb/viewtopic.php?t=16221
結果在輸入帳號密碼的時候,自己都進不去,已ghost回去四次,確定與上述連接說明吻合 沒有錯誤
請問我該怎麼解決 登入問題

●架設主機作業系統:Windows(Xp Pro)
●快速架站程式:appserv-win32-2.4.3
●您的上網方式:ADSL (Hinet )
●您的 phpBB2 版本:phpBB (2.0.14)
●您的 domain(網域名稱) :區網
●您的 phpBB2 連結網址: 區網

發表於 : 2005-05-08 12:51
小竹子

發表於 : 2005-05-08 14:00
KevinHsu
原本預設的root與任何的帳號 需要刪除嗎?

發表於 : 2005-05-08 14:11
KevinHsu
已經如上述操作 還是一樣\r
在phpadmin 新增一個全部權限的帳號
再將php檔修正

請問我還漏掉什麼嗎 ?

發表於 : 2005-05-08 17:42
Cyrillkk
你的 config.inc 應該似以下例子。

Admin 是在MySql 新增的管埋帳號
123456 為新增的管埋帳號的密碼\r

當你再次進入phpMyAdmin
就會要求輸入帳號和密碼\r

config.inc:

// You can disable a server config entry by setting host to ''.
$i++;
$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]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'Admin'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '123456'; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)