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; |
Ensure that the user has permission to connect to the database, and create and populate tables:
GRANT ALL PRIVILEGES ON crowd.* TO 'crowduser'@'localhost' IDENTIFIED BY 'crowdpass'; |
Edit the my.cnf file (often named my.ini on Windows operating systems) in your MySQL server. Locate the [mysqld]section in the file, and add or modify the following parameters (Refer to MySQL Option Files for detailed instructions on editing my.cnf and my.ini.):
Specify the default character set to be UTF-8:
[mysqld] ... character-set-server=utf8 collation-server=utf8_bin ... |
Set the default storage engine to InnoDB:
[mysqld] ... default-storage-engine=INNODB ... |
set to transaction-isolation = READ-COMMITTED.
[mysqld] ... transaction-isolation = READ-COMMITTED ... |
Notes:
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 the Debug Driver ( |
Complete the Crowd installation, then start Crowd and run the Setup Wizard as described in the Installation Guide.