wiki:ChangingTheDatabase

Version 2 (modified by Gavin, 15 years ago) (diff)

--

Changing the Database

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

Most common databases are supported by Grails, we test and run MySQL.
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.