Configuration (2.7)

Configuring Sakai 2.7+

1.0 Create a sakai.properties file

2.0 Configure home page tool set per site

3.0 Work site setup group helper

4.0 Session timeout warning

5.0 Configure email

6.0 Configure logging

7.0 Database support in Sakai

Sakai supports the following production-grade databases:

Sakai

Database

Driver

Notes

2.8, 2.7

MySQL 5.1.x

MySQL Connector/J 5.1.13+

(minus) Sakai requires transaction support. In the case of MySQL you must implement the InnoDB storage engine to ensure proper transaction handling.

2.8. 2.7, 2.6, 2.5

MySQL 5.0.x

MySQL Connector/J 5.0.4+

(minus) Sakai requires transaction support. In the case of MySQL you must implement the InnoDB storage engine to ensure proper transaction handling.

2.6, 2.5

MySQL 4.1.12+

MySQL Connector/J 3.1.12+

(minus) Sakai requires transaction support. In the case of MySQL you must implement the InnoDB storage engine to ensure proper transaction handling.
(minus) Connection issues have been reported for both Connector/J 3.1.10 & 3.1.11 drivers. Choose version 3.1.12+.

2.8, 2.7, 2.6, 2.5

Oracle 10g/Oracle 9i

OJDBC

(warning) Both Oracle 10g AND 9i users must use the 10g driver; the latest 10g "Release 2" (10.2.x) or higher is recommended.
     Oracle recommends using the latest 11g driver if you are using Java 6 with either 10g or 11g.
     With Java 6 the 11g driver, it's recommended that you have a recent kernel with the KNL-637 patch under high load.

2.7

DB2

 

 

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.

(info) Note that 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.

7.1 Configure the database

7.2 Set the database username and password

7.3 Set the database connection

7.4 Set auto.ddl=true

8.0 Install MySQL 5.0, 5.1

8.1 Set MySQL environment variables

8.2 Create a my.cnf/my.ini configuration file

8.3 Create a "sakai" database and user account

Unable to render {include} The included page could not be found.