Changes between Version 2 and Version 3 of ChangingTheDatabase
- Timestamp:
- Oct 31, 2009, 10:02:38 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChangingTheDatabase
v2 v3 1 1 === Changing the Database === 2 2 3 To change the database a custom WAR must be built from the source code.3 To change the database used by gnuMims a custom WAR must be built from the source code. 4 4 5 Most common databases are supported by Grails, we test and run MySQL.[[BR]] 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]] 6 7 The data source can be configured in the grails-app/conf/DataSource.groovy file.[[BR]] 7 8 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])