1 頁 (共 1 頁)

想請教大大們如何在其它電腦用phpmyadmin登入管理裝有mysql的伺服器呢?

發表於 : 2006-03-09 09:57
bruce.hsu
使用版本:phpmyadmin 2.6.1-pl3
MySQL 4.0.16

$cfg['PmaAbsoluteUri'] = ' ' ﹙這項目不知要打啥?﹚
我是鍵入 http : //localhost /phpmyadmin /index.php 但是怪怪的好像變成連到我自已的電腦 = =

我只有以下項目可登入嗎?
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['host'] = 'xxxx'
$cfg['Servers'][$i]['user'] = 'xxxx'
$cfg['Servers'][$i]['password'] = 'xxxx'

發表於 : 2006-03-09 10:45
咖啡不加糖
$cfg['PmaAbsoluteUri'] = 'http://網址/phpMyAdmin/'

建議把 phpMyAdmin 的資料夾名稱改掉,例如 db
這樣比較不容易被知道,或者可運用虛擬主機的設定
將子域名對應到該目錄:

代碼: 選擇全部

<VirtualHost *>
DocumentRoot C:\appserv\www\db
ServerName db.your.com
</VirtualHost>
ps:虛擬主機設定請修改 httpd.conf 修改完後記得重啟 apache