https://docs.jboss.org/hibernate/orm/4.3/javadocs/org/hibernate/dialect/package-summary.html[SQL dialect] that Hibernate can use when talking to the database
|c3p0.acquireIncrement|1|Acquire increment for SQL connections. We use 2 in production.
|c3p0.minPoolSize|1|Minimum number of SQL connections in the c3p0 pool We use 5 in production.
|c3p0.maxPoolSize|5|Maximum number of SQL connections in the c3p0 pool. We use 20 in production.
|c3p0.maxIdleTime|10|We use 30 in production.
|===
===== Creating a mysql database
Connect to your mysql instance and create a new blank database *genesys2*:
[source,sql,linenums]
----
# Create database
CREATE DATABASE genesys2 DEFAULT CHARSET UTF8;
----
The `DEFAULT CHARSET UTF8` ensures that tables created in this database will use UTF8 character
encoding by default.
Create user *genesys* with password *pwd* that will access the database from *localhost*:
[source,sql,linenums]
----
GRANT ALL ON genesys2.* TO 'genesys'@'localhost' IDENTIFIED BY 'pwd';
----
===== Database connection settings
Apply the relevant database configuration settings in `genesys.properties` file: