1 頁 (共 1 頁)

[問題] 關於phpMyAdmin 2.8.1 (已解決)

發表於 : 2006-06-16 11:54
dean20
各位大大好..

小弟在winxp環境下安裝好了IIS5.1與MySQL 5.0.22和PHP 5.1.4..
另外在IIS環境下MYSQL與PHP的連結程試我也有裝...
我裝這個http://dev.mysql.com/downloads/connector/odbc/3.51.html網址的MySQL Connector/ODBC 3.51
以下是我的config.inc.php檔案內容

代碼: 選擇全部

<?php
/*
 * Generated configuration file
 * Generated by: phpMyAdmin 2.8.1 setup script by Michal ?iha? <michal@cihar.com>
 * Version: $Id: setup.php,v 1.23.2.8.2.2 2006/05/15 07:57:09 nijel Exp $
 * Date: Fri, 16 Jun 2006 02:16:43 GMT
 */

/* Servers configuration */
$i = 0;

/* Server 10.50.47.184 (config:root) [1] */
$i++;
$cfg['Servers'][$i]['host'] = '10.50.47.184';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '1234';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '1234';

/* End of servers configuration */

?>
現在遇到一個問題
我將圖中的config改成http之後...
輸入帳號與密碼後無法開啟phpMyAdmin...
請問怎麼解決呢???

請各位大大幫忙...
thx

發表於 : 2006-06-16 11:58
chiouss
IIS *不能*用 http,請改用 cookie 或是維持用 config
--
哪個有權限的看到這篇麻煩把他丟到置頂去,謝謝 :Q

[問題] 關於phpMyAdmin 2.8.1

發表於 : 2006-06-16 12:22
dean20
那要如何讓同網域其他電腦連進來使用phpmyadmin呢??

如何設定??

Re: [問題] 關於phpMyAdmin 2.8.1

發表於 : 2006-06-16 16:12
chiouss
dean20 寫:那要如何讓同網域其他電腦連進來使用phpmyadmin呢??
如何設定??
IIS 的問題不在這邊討論,我也不會 :Q
通常你連的上其他人的電腦也連得上吧?

Re: [問題] 關於phpMyAdmin 2.8.1

發表於 : 2006-06-16 18:42
dean20
chiouss 寫:
dean20 寫:那要如何讓同網域其他電腦連進來使用phpmyadmin呢??
如何設定??
IIS 的問題不在這邊討論,我也不會 :Q
通常你連的上其他人的電腦也連得上吧?
後來我參考http://phpbb-tw.net/phpbb/viewtopic.php?t=20700就可以囉...

也感謝大大說..在IIS環境下phpMyAdmin的config.inc.php

代碼: 選擇全部

<?php
/*
 * Generated configuration file
 * Generated by: phpMyAdmin 2.8.1 setup script by Michal ?iha? <michal@cihar.com>
 * Version: $Id: setup.php,v 1.23.2.8.2.2 2006/05/15 07:57:09 nijel Exp $
 * Date: Fri, 16 Jun 2006 02:16:43 GMT
 */

/* Servers configuration */
$i = 0;

/* Server 10.50.47.184 (config:root) [1] */
$i++;
$cfg['Servers'][$i]['host'] = '10.50.47.184';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'l12345';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '56789';

/* End of servers configuration */

?>
裡面的$cfg['Servers'][$i]['auth_type'] = 'config';
不能設http...
不然我都不能成功...

謝謝你 ^^