回文章列表
作者slinbody.bbs@ptt.cc (不敗地球人), 信區: 386bsd
標題[問題] phpMyAdmin的設定
時間批踢踢實業 (Tue Dec 19 23:54:34 2006)
轉信站: GIBBS!ccnews.ncku!news2!Spring!feeder.seed.net.tw!news.ntu!news.ee.ttu!
Origin: sally.csie.ntu.edu.tw

我在/usr/local/www/phpMyAdmin/config.inc.php設定

$cfg[PmaAbsoluterUri'] = 'http://192.168.0.1/phpMyAdmin/";
(已設定Alias /phpMyAdmin "/usr/local/www/phpMyAdmin/"
        <Directory "/usr/local/www/phpMyAdmin/">
            Options Indexes MultiViews
            AllowOverride None
            Order allow,deny
            Allow from all
        </Directory>  )
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
(我安裝apache2.0.59 + mysql 5.0.27 + php5)
$cfg['Servers'][$i]['auth_type'] = 'cookie';

$cfg['Servers'][$i]['controluser'] = 'slinbody';  <-- 這兩行是設定網頁登入時
$cfg['Servers'][$i]['controlpass'] = 'slinbody';  <-- 的帳號密碼嗎??

最後也在mysql內
mysql>GRANT ALL PRIVILEGES ON test.* TO slinbody@192.168.0.4
IDENTIFIED BY 'slinbody';

(192.168.0.4是另一台電腦)

最後我用http://192.168.0.1/phpMyAdmin/   進去都出現
伺服器索引錯誤: ""  左邊是出現沒有資料庫

請問大家我有哪裡沒設好嗎??謝謝回答.....

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 210.192.254.246
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻