1 頁 (共 1 頁)

[問題]phpmyadmin-2.8.0.1如何連結管理多個Mysql Server

發表於 : 2006-03-12 17:30
eisen
要在哪裡設定呢?

\libraries\config.default.php 中設定嗎?

之前用2.5.6的版本,多加上一組下面的設定,好像就可以了

$i++;
$cfg['Servers'][$i]['host'] = 'xxx.xxx.xxx.xxx';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = xxx;
$cfg['Servers'][$i]['password'] = 'xxx';
$cfg['Servers'][$i]['only_db'] = '';
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['pmadb'] = '';
$cfg['Servers'][$i]['bookmarktable'] = '';
$cfg['Servers'][$i]['relation'] = '';
$cfg['Servers'][$i]['table_info'] = '';
$cfg['Servers'][$i]['table_coords'] = '';
$cfg['Servers'][$i]['pdf_pages'] = '';
$cfg['Servers'][$i]['column_info'] = '';
$cfg['Servers'][$i]['history'] = '';
$cfg['Servers'][$i]['verbose_check'] = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order'] = '';
$cfg['Servers'][$i]['AllowDeny']['rules'] = array();

可是在2.8.0.1 試,好像沒辦法。

在phpmyadmin首頁並不會讓我選擇伺服器

應該要怎麼作呢?

Re: [問題]phpmyadmin-2.8.0.1如何連結管理多個Mysql Server

發表於 : 2006-09-18 11:44
dowdot
我也是耶.....
一直設不出來
請問有誰會設呢
這問題困擾我好久了

發表於 : 2006-09-18 12:31
chiouss

代碼: 選擇全部

$cfg['AllowArbitraryServer']    = FALSE;
改成 TRUE。另外,不是我愛說,人家 config.default.php 裡面最前面寫得很清楚

代碼: 選擇全部

/* !!! DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!! */