[問題] phpMyAdmin的設定
我在/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
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章