Changes between Version 3 and Version 4 of ChangingTheDatabase
- Timestamp:
- Dec 22, 2009, 9:00:18 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChangingTheDatabase
v3 v4 2 2 3 3 To change the database used by gnuMims a custom WAR must be built from the source code. 4 * Perform an anonymous checkout. 5 * Change grails-app/conf/DataSource.groovy file to suite. 6 * Build your custom war with "grails war" command. 4 7 5 Most common databases are supported by Grails (via Hibernate), we test and run MySQL (InnoDB).[[BR]] 6 The database must support transactions and row locking.[[BR]] 7 The data source can be configured in the grails-app/conf/DataSource.groovy file.[[BR]] 8 Most common databases are supported by Grails (via Hibernate), we test and run MySQL (InnoDB). [[BR]] 9 The database must support transactions and row locking. [[BR]] 8 10 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 [http://dev.mysql.com/downloads/connector/j/5.1.html Connector]) 9 11