创建数据库表:
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的值
本文介绍如何使用JForum配置Oracle数据库,包括创建数据库表、设置JDBC连接、配置数据源及修改系统全局属性等步骤。

9176

被折叠的 条评论
为什么被折叠?



