Changes between Version 9 and Version 10 of ChangingTheDatabase
- Timestamp:
- May 19, 2011, 5:09:48 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChangingTheDatabase
v9 v10 3 3 [wiki:Installing Back to Installing] 4 4 5 To change the database used by gnuMims a custom WAR must be built from the source code. 6 * Perform an anonymous checkout. 7 * Change grails-app/conf/DataSource.groovy file to suite. 8 * Test or build your custom war with "grails run-app" or "grails war" commands. 5 To change the database used by gnuMims the settings in the external config file must be changed. [[BR]] 6 A jar matching the configuration needs to be placed in the Tomcat lib or classes dir (e.g. lib/mysql-connector-java-5.1.7-bin.jar [http://dev.mysql.com/downloads/connector/j/5.1.html Connector]) [[BR]] 9 7 10 8 Most common SQL databases are supported by Grails (via Hibernate), we test and run MySQL (InnoDB). [[BR]] 11 9 The database must support transactions and row locking. [[BR]] 12 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]) [[BR]]13 10 See the headings bellow for more details on each database tested so far. [[BR]] 14 11