Documentation for Crowd 2.5. Documentation for other versions of Crowd is available too.
When you run the Crowd Setup Wizard, you will be asked to choose a database and provide configuration settings for that database. It will make things easier if you have created the database and deployed the database driver before you start the Setup Wizard.
Crowd supports MySQL 5.0.37 and later. Follow the instructions below to set up MySQL for Crowd.
Create a database for Crowd to store data in (e.g. crowd). For a UTF-8 encoded database:
create database crowd character set utf8 collate utf8_bin;
Modify MySQL startup options in the configuration file my.cnf (often named my.ini on Windows), so the transaction level is set to transaction-isolation = READ-COMMITTED
. (Refer to MySQL Option Files for detailed instructions on editing my.cnf and my.ini.)
[mysqld] transaction-isolation = READ-COMMITTED
メモ:
Do not use COLLATE utf8_general_ci (e.g. Case insensitive) use COLLATE utf8_bin (e.g. case sensitive). The crowd schema has keys on varchars which will cause you issues if you use collation ending in CI.
mysql-connector-java-5.x.x-bin.jar
) to the following directory:CROWD_INSTALL}/apache-tomcat/lib/
.CROWD_INSTALL}/apache-tomcat/common/lib/
.common/lib/
.lib/
.Do not place Debug Driver on CLASSPATH
Do not place the Debug Driver (mysql-connector-java-5.x.x-bin-g.jar
) on the CLASSPATH
as this can cause issues. See (JRA-8674).
Complete the Crowd installation, then start Crowd and run the Setup Wizard as described in the Installation Guide.