关闭

jforum配置

标签: postgresqldatabasehsqldboracle数据库mysql
913人阅读 评论(0) 收藏 举报

创建数据库表:
WEB-INF/config/database/oracle/oracle_db_struct.sql
WEB-INF/config/database/oracle/oracle_data_dump.sql

配置jdbc:
1. 数据库类型:
WEB-INF/config/SystemGlobals.properties:
key: database.driver.name
value:
Database Key   value 
MySQL                mysql
PostgreSQL      postgresql
HSQLDB            hsqldb
Oracle                 oracle

2. 数据源类型:

key: database.connection.implementation
value:
Connection Storage Type   Key value 
Pooled Connections            net.jforum.PooledConnection
Simple Connections            net.jforum.SimpleConnection
DataSource Connections   net.jforum.DataSourceConnection

DataSource Connections配置:
key:  database.datasource.name

Pooled Connections配置:
WEB-INF/config/database/<DBNAME>/<DBNAME>.properties
Key Name                                           key Value description
database.connection.username   Database username
database.connection.password   Database password
database.connection.host             The host where the database is located
dbname                                             The database name. The default value is jforum. All JForum tables are     preceded by "jforum_", so you don't need to worry about conflicting table 

重命名root下文件:new_rename.htm ->  index.htm ((delete the existing index.htm first)
删除WEB-INF/config/modulesMapping.properties文件的行: "install = net.jforum.view.install.InstallAction"
默认管理员: Admin:admin
更改 WEB-INF/config/SystemGlobals.properties 底下 key:user.hash.sequence的值

 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:13125次
    • 积分:285
    • 等级:
    • 排名:千里之外
    • 原创:17篇
    • 转载:0篇
    • 译文:0篇
    • 评论:5条
    文章分类
    最新评论