Version 3 (modified by Gavin, 10 years ago) (diff)


Changing the Database

To change the database used by gnuMims a custom WAR must be built from the source code.

Most common databases are supported by Grails (via Hibernate), we test and run MySQL (InnoDB).
The database must support transactions and row locking.
The data source can be configured in the grails-app/conf/DataSource.groovy file.
A jar matching the configuration needs to be placed in the projects lib dir (e.g. lib/mysql-connector-java-5.1.7-bin.jar Connector)

See the DeveloperStartPage and Grails documentation.