[問題] 修改config.php的問題?

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
gamestation

[問題] 修改config.php的問題?

文章 gamestation »

我知道上傳了論壇後要修改\r
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql';不用修改

$dbhost = 'localhost';主機位置
$dbname = 'mysql';資料庫名稱
$dbuser = '*****';資料庫帳號
$dbpasswd = '***';資料庫密碼

$table_prefix = '0216_';資了表格名稱

define('PHPBB_INSTALLED', true);

?>


我不明白主機位置,資了表格名稱是什麼?
tom82612
星球公民
星球公民
文章: 123
註冊時間: 2003-10-10 17:17
來自: HK
聯繫:

文章 tom82612 »

<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql';

$dbhost = 'localhost';
$dbname = 'mysql';
$dbuser = '*****';
$dbpasswd = '***';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?>
圖檔
歡迎各位朋友加入任意論壇。

Now FH Is Having A Stock Market Race!
gamestation

文章 gamestation »

我有點不明白\r
請問dbname是否一定要填mysql,dbhost是否一定要填localhost
還有table_prefix是填什麼?
謝謝大大
tom82612
星球公民
星球公民
文章: 123
註冊時間: 2003-10-10 17:17
來自: HK
聯繫:

文章 tom82612 »

dbname = 你資料庫名
dbhost = localhost (你空間的資料庫)
table_prefix = phpbb_ (一定要這樣)
圖檔
歡迎各位朋友加入任意論壇。

Now FH Is Having A Stock Market Race!
gamestation

文章 gamestation »

dbname = 資料庫名是我申請時填的那一項?
dbhost = localhost是我申請時填的那一項?
hotsql適合以上資料嗎?
23939889

文章 23939889 »

dbhost 是資料庫所在的伺服器,不一定是 localhost
dbname 是給 phpBB 使用的資料庫名稱,是你或主機商給的
table_prefix 是資料表前置名
gamestation

文章 gamestation »

那請問:
dbname = 資料庫名是我申請時填的那一項?
dbhost = localhost是我申請時填的那一項?
hotsql適合以上資料嗎?
23939889

文章 23939889 »

前兩項在你申請後會由主機商提供
hotsql 是啥俺都不知道
gamestation

文章 gamestation »

hotsql是下面連結那個:
http://hotsql.com/
這個外連資料庫適合以上資料嗎?
如果適合,請問對照上面是怎樣填寫?
gamestation

文章 gamestation »

我是想用www.30mb.com的免費空間+hotsql的外連資料庫架設一個論譠
所以我想問hotsql適合以上資料嗎?
如果適合,請問對照上面config.php是怎樣修改填寫?
baboo
星球公民
星球公民
文章: 79
註冊時間: 2004-02-11 10:23

文章 baboo »

你註冊之後應該有收到一封 email 吧?
===========================================
== Server Type - MySQL
== Server Host - mysqla.hotsql.com
== Server Port - 3306
== Username - 你的賬號名
== Password - 你的密碼\r
== Database Name - 你的賬號名
===========================================
改這樣嘍...

代碼: 選擇全部

<?php 
$dbms = 'mysql'; 

$dbhost = 'mysqla.hotsql.com'; 
$dbname = '你的賬號名; 
$dbuser = '你的賬號名'; 
$dbpasswd = '你的密碼'; 

$table_prefix = 'phpbb_'; 

define('PHPBB_INSTALLED', true); 

?> 
不過 hotsql 不像個能用的地方... 很不穩定. 現在連他們給的 phpMyAdmin 都不能連到 mysql..........
主題已鎖定

回到「phpBB 2 安裝與使用」