Database setup

The Onegini Statistics Engine requires a database connection to fetch data for analysis and to store statistical data.

Note: The Onegini Statistics Engine requires the Onegini Token Server database schema to be available.

Configure the database connection

To configure the database connection, ETCD properties can be set.

Property Description Default
/statistics-engine/db/jdbc-url The jdbc uri to the database server instance jdbc:mysql://localhost:3306/onegini-oauth
/statistics-engine/db/user The database user used to connect to the database server onegini
/statistics-engine/db/password The password used to connect to the database server onegini
/statistics-engine/db/driver-class Fully qualified class name of the JDBC driver. org.mariadb.jdbc.Driver
/statistics-engine/db/hibernate-dialect The dialect that should be spoken by the application when accessing the database. org.hibernate.dialect.MySQL5Dialect