喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 喜悦证交所 | 帮助

RSS 订阅当前论坛  

[北京]代朋友公司招聘PHP高级程序员多名

上一主题 下一主题
     
标题: [问题] 配置phorum数据库  
 
gcnno
新手上路
Rank: 1


UID 70571
精华 0
积分 19
帖子 9
金钱 19 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2006-3-29
状态 离线
配置phorum数据库

在安装phorum(www.phorum.org)中,遇到了数据库配置的难题;无法通过配置。

提示如下:
Phorum database configuration error
Phorum has been installed on this server, but the configuration
for the database connection has not yet been made. Please read
docs/install.txt for installation instructions.


在install.txt文件中如此描述:
3.4 Create a database and a database user
-----------------------------------------
   Phorum stores all its data in a database. So you now need to create
   a database. Officially, only the MySQL database server is supported
   by Phorum, so we recommend to use MySQL whenever possible.
   
   If you have hosted your site with a hosting provider, then ask
   your hosting provider to setup the database and a full access
   database user for you.
   
   If you run your own database server, then you will have to create
   the database and the user yourself. If you are using a control
   panel, like phpmyadmin, then use that control panel to create
   them. Else, you can use the mysql prompt to create the database
   by issuing commands like:
   
   mysql> CREATE DATABASE phorum;
   mysql> GRANT ALL ON phorum.* TO [email=user@localhost]user@localhost[/email] IDENTIFIED BY password;
   
   Of course, for security reasons you would use your own user and
   password instead.
   
   If you are unsure how to create a database and a database user,
   please refer to your system documentation.

3.5 Configure the database access
---------------------------------
   After setting up the database, you'll have to tell Phorum how the
   database can be accessed. This configuration is put in the file
   include/db/config.php inside your Phorum directory. This file is
   not in the distribution. Only a differently named sample file is
   included.
   
   First, copy or rename the file "include/db/config.php.sample" to
   "include/db/config.php". Now edit the config.php file to match the
   access settings for the database that was created in step 4.
   
   If you run your website on a remote server, then either edit
   the config.php file directly on that server (e.g. through a
   UNIX prompt) or upload the file to the correct location after
   editing it locally.



可是,在其提供的文件中都坐牢相应的配置;出现了上面的提示。请问高手如何~~~~~~~

诚谢!!! 
2007-6-3 10:50 PM#1
查看资料  发短消息  顶部
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.178396 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP