Database support (2.7)
The Sakai CLE supports the following production-grade databases:
Database |
Driver |
Notes |
---|---|---|
MySQL 5.1.x |
Sakai requires transaction support. In the case of MySQL you must implement the |
|
MySQL 5.0.x |
Sakai requires transaction support. In the case of MySQL you must implement the |
|
Oracle 11g |
2.7 was not tested using Oracle 11g; however, both Virgina Tech and the University of Florida are using Oracle 11g with their Sakai deployments. |
|
Oracle 10g / 9i |
Both Oracle 10g AND 9i users must use the 10g driver; the latest 10g "Release 2" (10.2.x) or higher is recommended. |
|
DB2 |
|
Deprecated |
Choose the appropriate MySQL or Oracle JDBC driver (or connector) for your installation. For MySQL, download the *zip/*tar.gz archive, extract its contents and copy the mysql-connector-java-<version>-bin.jar
to $CATALINA_HOME/common/lib
. For Oracle download the ojdbc14.jar
file and copy it to $CATALINA_HOME/common/lib
.
You will not need to create Sakai database objects (tables, indices, etc) when setting up your database. Sakai generates its own database schema automatically during the Tomcat setup process via the autoDDL
setting in sakai.properties
.
In actuality, Sakai is not limited to these database choices and integration with other RDBMS systems is not difficult. In the past at least one installation used Microsoft SQL Server while requests for PostgreSQL integration are occasionally raised on the Sakai developers list. However, to date no one in the Sakai Community has stepped forward to support alternatives to either Oracle or MySQL, a prerequisite for adding additional database options to the release.