Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

Configuring Sakai to use MySQL is an excellent option both for local development and production purposes.

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

First, confirm whether or not MySQL is installed on your system by checking the version from the command line:

mysql --version
mysql  Ver 14.14 Distrib 5.1.46, for apple-darwin10.2.0 (i386) using readline 5.1

If MySQL is not installed download MySQL 5.0/5.1 binaries or source from http://dev.mysql.com/downloads/. Linux users should install MySQL using a package or binaries if possible. Choose the standard configuration. Windows users should consider installing MySQL as a service. Remember to include MySQL's /bin directory in your PATH statement.

Assign a password for the root account:

mysql -u root -pmysqlpassword
  • No labels