[請益] phpMyAdmin安裝問題(試過n遍失敗了)
我不是使用套裝那種,我是一個一個分開來裝
mysql版本:5.0.26
apache版本:2.2.3
php版本:5.2.3
phpmyadmin版本:2.10.1
以上是我的相關版本
我試過n遍想用phpmyadmin管理我的mysql資料庫
幾乎網路上的很多都試過,但就是不行
我確定我有把phpMyAdmin丟到網站根目錄底下
還有php.ini裡的extension=php_mbstring.dll 前面分號有拿掉
假設我用命令提示字元的介面進入資料庫是沒問題的,而且有帳號密碼
這裡假設是帳號是root,密碼是abc
以下是我對config.inc.php的修改結果
$cfg['blowfish_secret'] = 'root';
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
$cfg['Servers'][$i]['auth_type'] = 'http'; 這行修改成http
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root'; 前面原本有分號,我拿掉打上"root"
$cfg['Servers'][$i]['controlpass'] = 'abc'; 前本原本有分號,我拿掉打上"abc"
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
大致上是這樣,但就是登不進去
我也有試過網路上說的方法
例如:在命令提示字元下指令
set password for
'root'@'localhost' = OLD_PASSWORD("abc"); 這裡不打分號會有錯誤訊息
flush privileges;
然後重新登入還是不行,到底是為什麼
拜託大家幫忙討論解決~~泣
另外如果我把資料庫密碼設成空字串,就是沒有的意思
然後把上面的帳號(root)、密碼(abc)那兩列前面都加上分號
再登也是不行
都是會要我一直再重輸帳號密碼
拜託大家了,請大家給我點指示,謝謝
再不行,我就重來,裝appserv好了……
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.196.141
※ 編輯: hubin 來自: 61.228.196.141 (06/10 15:31)
推
06/10 16:52, , 1F
06/10 16:52, 1F
→
06/10 16:54, , 2F
06/10 16:54, 2F
→
06/10 17:02, , 3F
06/10 17:02, 3F
→
06/10 17:04, , 4F
06/10 17:04, 4F
推
06/11 02:21, , 5F
06/11 02:21, 5F
→
06/11 02:23, , 6F
06/11 02:23, 6F
→
06/11 02:24, , 7F
06/11 02:24, 7F
→
06/11 02:25, , 8F
06/11 02:25, 8F
推
06/11 02:37, , 9F
06/11 02:37, 9F
→
06/11 02:38, , 10F
06/11 02:38, 10F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章