[報到]想要装PHPBB,但是。。。。斑竹救命啊
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
[報到]想要装PHPBB,但是。。。。斑竹救命啊
前不久申请了带数据库的虚拟空间,但是数据库和空间不是一起的。怎样在远程创建数据库中的表?我想创建两个怎么办?创建好后,怎样调用?
我保证
这不是我说的......
这不是我说的......
-
- 星球公民
- 文章: 111
- 註冊時間: 2002-01-15 15:40
- 來自: 天涯盡頭
- 聯繫:
你要把config設定好,還要能夠create 資料庫。
竹貓星球的處女作—phpBB論壇架設寶典。
我手寫我口,讓起落鍵盤的十指,
為我訴盡澎湃心情的點點滴滴……\r
http://www.kidking.idv.tw
http://www.story.club.tw
http://brothers.cnbbs.org
-
- 星球公民
- 文章: 111
- 註冊時間: 2002-01-15 15:40
- 來自: 天涯盡頭
- 聯繫:
竹貓星球的處女作—phpBB論壇架設寶典。
我手寫我口,讓起落鍵盤的十指,
為我訴盡澎湃心情的點點滴滴……\r
http://www.kidking.idv.tw
http://www.story.club.tw
http://brothers.cnbbs.org
基本上知道了,但是我的数据库是远程的啊。具体应该怎样设置?再次感谢!
我是这样设置的
$i++;
$cfgServers[$i]['host'] = '11.111.11.111';// 我的数据库IP地址
$cfgServers[$i]['port'] = '';
$cfgServers[$i]['socket'] = '';
$cfgServers[$i]['connect_type'] = 'tcp';
$cfgServers[$i]['controluser'] = '';
$cfgServers[$i]['controlpass'] = '';
$cfgServers[$i]['auth_type'] = 'config';
$cfgServers[$i]['user'] = 'sinid';
$cfgServers[$i]['password'] = '1213456';
$cfgServers[$i]['only_db'] = '';
$cfgServers[$i]['verbose'] = '';
$cfgServers[$i]['bookmarkdb'] = '';
$cfgServers[$i]['bookmarktable'] = '';
$cfgServers[$i]['relation'] = '';
但是出现下列提示:
Welcome to phpMyAdmin 2.2.6
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 23
\n
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 24
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 25
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 26
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 27
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 29
Error
MySQL said:
Unknown MySQL Server Host 'http' (0)
我是这样设置的
$i++;
$cfgServers[$i]['host'] = '11.111.11.111';// 我的数据库IP地址
$cfgServers[$i]['port'] = '';
$cfgServers[$i]['socket'] = '';
$cfgServers[$i]['connect_type'] = 'tcp';
$cfgServers[$i]['controluser'] = '';
$cfgServers[$i]['controlpass'] = '';
$cfgServers[$i]['auth_type'] = 'config';
$cfgServers[$i]['user'] = 'sinid';
$cfgServers[$i]['password'] = '1213456';
$cfgServers[$i]['only_db'] = '';
$cfgServers[$i]['verbose'] = '';
$cfgServers[$i]['bookmarkdb'] = '';
$cfgServers[$i]['bookmarktable'] = '';
$cfgServers[$i]['relation'] = '';
但是出现下列提示:
Welcome to phpMyAdmin 2.2.6
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 23
\n
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 24
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 25
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 26
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 27
Warning: Cannot add header information - headers already sent by (output started at D:\hosts\jn114\phpmyadmin\libraries\auth\config.auth.lib.php:91) in D:\hosts\jn114\phpmyadmin\header.inc.php on line 29
Error
MySQL said:
Unknown MySQL Server Host 'http' (0)
我保证
这不是我说的......
这不是我说的......
有顏色的部分是要填寫的
代碼: 選擇全部
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfgServers[$i]['host'] = [color=brown]'xxx.xxx.xxx'[/color]; // MySQL hostname
$cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[$i]['controluser'] = '[color=red]account[/color]'; // MySQL control user settings
// (this user must have read-only
$cfgServers[$i]['controlpass'] = '[color=brown]password[/color]'; // access to the "mysql/user"
// and "mysql/db" tables)
$cfgServers[$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfgServers[$i]['user'] = '[color=red]mysqluser[/color]'; // MySQL user
$cfgServers[$i]['password'] = '[color=brown]mysqluserpass'[/color]; // MySQL password (only needed
// with 'config' auth_type)
$cfgServers[$i]['only_db'] = '[color=red]dbname[/color]'; // If set to a db-name, only
注意事項:
●phpBB 架設相關問題請到 + phpBB 3.0.x 討論區發表!
●都沒有你要的答案嗎??>>點這裡<<搜尋一下吧!
●請使用>>標準的發文格式<<發表問題!
●竹貓星球並非政治團體代言人,請不要在竹貓討論政治議題,也不要認為竹貓是偏向任何一方政治團體,竹貓愛的是台灣這片生長的土地,過於泛政治化文章請來信告知移除!
●關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。
●所有市面上的免費空間皆非竹貓管轄,請勿來信詢問,請直接與該免費空間連絡。
●phpBB 架設相關問題請到 + phpBB 3.0.x 討論區發表!
●都沒有你要的答案嗎??>>點這裡<<搜尋一下吧!
●請使用>>標準的發文格式<<發表問題!
●竹貓星球並非政治團體代言人,請不要在竹貓討論政治議題,也不要認為竹貓是偏向任何一方政治團體,竹貓愛的是台灣這片生長的土地,過於泛政治化文章請來信告知移除!
●關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。
●所有市面上的免費空間皆非竹貓管轄,請勿來信詢問,請直接與該免費空間連絡。