1 頁 (共 1 頁)

[問題]Windows2000安裝phpBB2的環境

發表於 : 2004-11-11 21:11
allnewlinux
Dear 各位.

在看過各位的討論之後. 抓套裝來裝是OK. 不過我實在手癢所以自己又另外去抓
各個程式. 並嘗試在IIS上運作..我的環境如下
Windows 2000 Professional+Service Pack4 (IIS 5.0)
phpBB2.0.10
PHP 4.3.9
MySQL 4.1.7
phpMyAdmin 2.6.0 pl2

全都以預設來安裝. 過程中我發現MySQL的程式資料夾路徑和4.0版之前的不一樣.
最後進行嘗試以 http 跑 phpMyAdmin 時. 不斷發生無法連結資料庫或是MySQL
的帳號密碼 hostname 有問題. 拿出phpBB的書所附的CD和另外抓的較舊版的軟體後..發現問題不在phpBB2.0.10也不在PHP 4.3.9..而是出在phpMyAdmin和
MySQL..不知道有沒有人也遇到相同的問題呢 ?

發表於 : 2004-11-11 22:01
小竹子
有建立 MYSQL 使用者嗎?

發表於 : 2004-11-11 22:13
allnewlinux
有ㄚ..包括開MySQL介面去看都在..下command去重新設密碼也ok..不過就是不給連...

發表於 : 2004-11-12 11:48
allnewlinux
自問自答. 試到最後. 可以順利使用的版本環境如下..
Windows 2000 Professional+Service Pack4 (IIS 5.0)
phpBB2.0.10
PHP 4.3.9 (或是4.3.8)
MySQL 4.0.20d (含之前)
phpMyAdmin 2.6.0 pl2

不過. 關於phpMyAdmin的部份. 我一連上去. 進去後. 它在畫面有告訴我該改那些設定. 不然不安全. 如果照版上文章去改..會有無法連線的問題..目前我是改了下面這幾個

$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyadmin/';

$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxx'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
// It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname

$cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
// (see scripts/create_tables.sql)

繼續努力嘗試中..不知道有沒有人有同樣的情形 ?