[問題]phpmyadmin權限問題

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
sunstar
星球普通子民
星球普通子民
文章: 1
註冊時間: 2002-07-29 14:44
來自: Taipei

[問題]phpmyadmin權限問題

文章 sunstar »

依照小竹子的建議更改設定
首先,打開 phpMyAdmin/config.inc.php

找到
代碼:
$cfg['PmaAbsoluteUri'] =

請在等號的後方填入您的 phpMyAdmin 路徑,例如:
代碼:
$cfg['PmaAbsoluteUri'] = 'http://takeneko.no-ip.com/phpMyAdmin/';


接下來,修改成為限定登入的方式,找到
代碼:
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname

這個是您的 MySql 的伺服器名稱,如果您是使用網路空間,請洽詢您的網路空間提供商,所提供的 MySql 的伺服器名稱,假如您是架設在 Windows 系統(非 Server 系列)之上,通常為 localhost。

然後,找到下面兩段語法:
代碼:

$cfg['Servers'][$i]['controluser'] = 'xxxxxx'; // MySQL control user settings
// (this user must have read-only
紅色xxxxxx輸入您的 MySql 管理帳號
$cfg['Servers'][$i]['controlpass'] = 'xxxxxx'; // access to the "mysql/user"
// and "mysql/db" tables)
紅色xxxxxx輸入您的 MySql 管理密碼



最後要以瀏覽器開啟登入畫面的設定,找到:
代碼:

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?



把預設的 config 修改成紅色字體的 http,還有紅色字體的 root 移除,接著儲存檔案關閉就可以了。
代碼:

$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?

$cfg['Servers'][$i]['user'] = 'root'; // MySQL user

結果一遠端進入phpmyadmin發現
建立新資料庫: [說明文件]
沒有權限

為何?
davidcool
星球公民
星球公民
文章: 189
註冊時間: 2003-01-31 15:06
來自: Taipei, Taiwan

文章 davidcool »

你把config.inc.php全部還原


$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?

覆蓋成
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?

其他步驟不要做
我是這樣成功的啦... :mrgreen:
arkgeo
星球普通子民
星球普通子民
文章: 4
註冊時間: 2003-08-04 21:31

[討論]謝謝

文章 arkgeo »

看了你的文章解決了我的問題:-D
謝謝!!
主題已鎖定

回到「phpBB 2 安裝與使用」