會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

User Forum » JForum + Derby

發表人: KevinWorkman
10 年 前
Hello,

I'm attempting to install JForum as an add-on to an existing site (the site is not live yet). The existing site uses a JavaDB/Derby database, so I was hoping to use the existing database for JForum. However, when I try to setup JForum, I find that there is no option to use a JavaDB/Derby database. Is there something I'm missing? Is there a way around this?

Thanks,

Kevin

發表人: andowson
10 年 前
JForum2 currently only supports the following databases(newer version is preferred, old version may be not working):
1.MySQL (v5.0 or later)
2.PostgreSQL (v7.3 or later)
3.HSQLDB
4.Oracle Database
5.Microsoft SQL Server (2000 or later)

If you want to use other database, you'll need to create the whole set yourself
src/main/config/database/derby/
+derby.properties
+derby.sql
+derby_data_dump.sql
+derby_db_struct.sql

src/main/java/net/jforum/dao/derby/
+DerbyDataAccessDriver.java

You can reference other database than MySQL to have an idea of how to implement it.
Afetr that, you can use manual installation to install it.

發表人: KevinWorkman
10 年 前
Thanks for the reply. I was figuring that would be what I had to do, but given my pretty limited experience with databases, I was hoping that somebody else had already done it and there was a solution floating around. I'll have to take a closer look at it. Thanks again for the response!




會員註冊 / 登入  |  電腦版  |  Jump to top of page