phpMyAdmin的設定 - BBS

Table of Contents

我在/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 [email protected]
IDENTIFIED BY 'slinbody';

(192.168.0.4是另一台電腦)

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

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

--

All Comments