Jive Forums stores all data in a back-end database that you must setup and manage. This document provides setup instructions for all of the currently supported databases.
JDBC 2.0 drivers are required for Jive to communicate with your database. Suggested drivers for particular databases are noted below where applicable. However, the JDBC-ODBC bridge will not work with Jive under any circumstances. For a full list of available JDBC drivers, please see: http://industry.java.sun.com/products/jdbc/drivers
Choose your database from the list below for setup details:
Note that the list of currently supported databases in Jive 2.0 is not as large compared to Jive 1.2.x. This is simply due to the fact that we do not have every database installed locally for testing. If you have Sybase, InstantDB, SAPDb, Solid, or any other Jive 1.2.x supported DB, please consider sending matt@jivesoftware.com an updated schema (please follow the format of the other 2.0 schemas rather than trying to update old schemas).A free JDBC driver for mySQL that has been thoroughly tested with Jive can be found at:
http://mmmysql.sourceforge.net/
You should refer to this page for driver documentation and updates. Please use version 2.0.4 or higher.
In the Jive setup tool, use the following values:
where [YOUR_HOST] and [DATABASE_NAME] are the actual values for you server.
In many cases localhost
is a suitable value for [YOUR_HOST] when
your database is running on the same server as your webserver.
Setup Instructions
mysqladmin create [databaseName]
cat Jive_mysql.sql | mysql [databaseName];
type Jive_mysql.sql | mysql [databaseName];
Further Help
If you need help setting up MySQL, refer to the following sites:
http://www.mysql.com/doc.html
http://www.devshed.com/Server_Side/MySQL
For most users, the best drivers for Oracle are the ones written by Oracle (which come with the database or can be downloaded from Oracle's website). You should use the "thin" drivers that are in the the classes12.zip file.
In the Jive setup tool, use the following values:
where [YOUR_HOST] and [DATABASE_NAME] are the actual values for you server.
In many cases localhost
is a suitable value for [YOUR_HOST] when
your database is running on the same server as your webserver.
Setup Instructions
First, create a "Jive" user or some other user that will "own" the Jive tables. This isn't necessary, but doing so will allow your tables to exist in a seperate tablespace.
Next import the schema using sqlplus (or your favorite Oracle tool such
as Toad). For sqlplus: copy the "Jive_oracle_8.sql" file to the same
directory where sqlplus is installed (should be something like
/Oracle/Ora81/bin/). Next, log into sqlplus and then execute the command:
@ Jive_oracle_8
That will import the schema file. Your database is now setup.
Unfortunately, no freely available driver for SQL Server is high-quality enough to work with Jive. Specifically, the "Free-TDS" driver on freetds.org will not currently work. Many users turn to the JDBC-ODBC bridge instead; however, that will not work either as noted above. Do not bother to even try either driver!
Instead, use one of the many commercial drivers for SQLServer that are listed on the Sun site. Connection settings in the Jive setup tool for specific drivers are as follows:
where [HOST_NAME] is the host name or IP address of your database server, and [PORT_NUMBER] is the port that SQLServer is listening on (normally 1433). Please use the Merant drivers version 2.1 or greater. JRun 3.x ships with the 2.0 version of the Merant drivers, so if you would like to use the built-in JRun database drivers, please contact Jive Software for an update that has been made available by Allaire.
I-net Opta
where [HOST_NAME] is the host name or IP address of your database server, and [PORT_NUMBER] is the port that SQLServer is listening on (normally 1433). You must use version 4.13 or higher.
Setup Instructions
JDBC Drivers for PostgreSQL can be found in various distribution packages
at PostgreSQL's Home Page.
This installation in particular refers to "jdbc7.0-1.2.jar"
driver for
accessing PostgreSQL 7.0.3. Refer to the JDBC documentation at that site
for more information. A couple of notes, however:
"org.postgresql.Driver
. The documentation is apparently a little
out of date and omits the "org"
.
"jdbc:postgresql://host:port/dbname"
. The documentation
omits the ":"
between the host and port.
Setup Instructions
"createdb"
utility:
createdb jive
psql -d jive -f Jive_postgres.sql
JDBC drivers and other files for Interbase can be downloaded at http://www.borland.com/devsupport/interbase/opensource/. The JDBC JAR file is called interclient.jar, and should be put in the classpath of your application server.
Values for the admin tool are:
interbase.interclient.Driver
jdbc:interbase://host/fullpath
Setup Instructions
Notes: It would probably be a good idea to create a new user for Jive or at least to change the password.
To use JDBC with interbase you have to have install the Interbase InterServer which enables the InterClient JDBC driver to access the database.
Use the JDBC 1.2 compliant driver, db2java.zip (1293KB),
located in the
Values for the admin tool are:
COM.ibm.db2.jdbc.app.DB2Driver
jdbc:db2:[DB NAME, e.g. JIVE]
Setup Instructions
You have to create a new database (e.g. JIVE) or use an existing one. Connect to the database using any valid username allowed to create tables and indexes. Keep in mind that DB2 UDB applies the user name as the table schema. Use the same user when you configure Jive with the administration interface. Commands are as follows:
DB2 CREATE DB JIVE ALIAS JIVE
DB2 CONNECT TO JIVE USER [DBUSER] USING [DBPASSWORD]
(or you can use the Command Center GUI)
Start the DB2 command window (in Windows), or the user's shell in Unix and import the schema with:
db2 -tvf Jive_db2_7.sql
Or, use the DB2 Command Center and run the script through the "Replication Sources" folder in the Database tree.
The database is now setup.
Values for the admin tool are:
org.hsqldb.jdbcDriver
jdbc:hsqldb:[PATH_TO_DB_FILES/DB_NAME]
For example, the server URL might be jdbc:hsqldb:../database/defaultdb
Setup Instructions
Create a database for the Jive Tables:
Setup Instructions
Cloudscape and the JDBC drivers can be downloaded at http://www.cloudscape.com/products/fdkreg.jsp, the zip file is cloudscape364.zip. After downloading, unzip the file into \cloudscape directory and add the following JARs to the CLASSPATH of your system and your application server, or put them in the WEB-INF/lib directory created for the Jive web application.
For Windows:
md \cloudscape cd \cloudscape jar xvf cloudscape364.zip set CLASSPATH=%CLASSPATH%;\cloudscape\lib\cloudscape.jar;\cloudscape\lib\tools.jar
java COM.cloudscape.tools.ij ij version 3.6 (c) 1997-2001 Informix Software, Inc. ij> connect 'jdbc:cloudscape:jiveDB;create=true'; ij> run 'jive_cloudscape_364.sql'; ij> select * from jiveuser; ij> exit;
JDBC Drivers
Values for the admin tool are:
COM.cloudscape.JDBCDriver
jdbc:cloudscape:/cloudscape/jiveDB
APP
APP