Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Databases: Configuring a Database Backend

Benjamin Sautner edited this page Aug 2, 2016 · 2 revisions

Nimbits ships with an embedded H2 database. When it's time to scale up, you can change the system to point to a backend like mySQL. A more detailed mySQL Setup can be found here.

Migrating to MySQL

Configure Database

  • create a new schema called nimbits: CREATE SCHEMA 'nimbits' ;

Configure Nimbits

Comment out the H2 Database entry and uncomment the database of your choice. You will need to modify the connection url, user name and password.

Change the LocalPersistenceManagerFactoryBean with the same connection info as above.

Database driver with the driver of your choice.