[問題]EasyPHP設定問題

phpMyAdmin Running Discuss
關於 phpMyAdmin 架設使用操作討論,非本程式相關問題一律砍文!

版主: 版主管理群

回覆文章
michaelliu0624
星球普通子民
星球普通子民
文章: 14
註冊時間: 2006-05-30 19:37

[問題]EasyPHP設定問題

文章 michaelliu0624 »

我使用EasyPHP1.8
打入http://localhost/mysql/index.php
之後, 可以看到phpMyAdmin的畫面
但是進入修改root密碼之後, 就近不去了
我打開了EasyPHP1.8的資料夾
找到phpmyadmin的資料夾
修改了裡面的config.inc.php檔案
改了這一些:
$cfg['PmaAbsoluteUri'] = 'http://localhost/mysql/';

$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'] = 'root'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '2262626'; // 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'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '2262626'; // MySQL password (only needed

請問我這樣修改對嗎?
另外就市, 改了這一些之後, 在打入http://localhost/mysql/index.php
錯誤訊息還試: 錯誤的使用者名稱或密碼,拒絕存取!!

請教各位前輩, 請指點迷津
chiouss
竹貓忠實會員
竹貓忠實會員
文章: 1741
註冊時間: 2002-11-29 18:19

Re: [問題]EasyPHP設定問題

文章 chiouss »

michaelliu0624 寫:請問我這樣修改對嗎?
另外就市, 改了這一些之後, 在打入http://localhost/mysql/index.php
錯誤訊息還試: 錯誤的使用者名稱或密碼,拒絕存取!!

請教各位前輩, 請指點迷津
你要用 http 認證登入就不需要把 user, password 輸入到 config.inc.php 裡面。至於拒絕存取應該是因為你沒有先改過密碼吧...
michaelliu0624
星球普通子民
星球普通子民
文章: 14
註冊時間: 2006-05-30 19:37

謝謝

文章 michaelliu0624 »

謝謝你
我的問題解決了
就如您所講的一樣
感謝

Yours,
Michael (Taiwan)
回覆文章

回到「phpMyAdmin」