Changeset 45 for trunk/grails-app/conf/DataSource.groovy
- Timestamp:
- Nov 5, 2009, 12:00:27 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/DataSource.groovy
r43 r45 18 18 } 19 19 } 20 20 test { 21 21 dataSource { 22 22 dbCreate = "update" … … 26 26 production { 27 27 dataSource { 28 /* 29 * when releasing a new stable to the live environment 30 * you would probably comment out the dbCreate option 31 * so hibernate won't try to update (which is does not 32 * do so well) and you update the live database yourself 33 * 34 * @see http://grails.org/plugin/autobase 35 * @see http://wiki.github.com/RobertFischer/autobase/example-usage 36 */ 37 dbCreate = "update" 38 username = "gscf" 39 password = "dbnp" 28 40 29 dbCreate = "update" 30 username = "gscf"31 password = "dbnp"41 // PostgreSQL 42 driverClassName = "org.postgresql.Driver" 43 url = "jdbc:postgresql://localhost:5432/gscf" 32 44 33 //Postgres 34 driverClassName = "org.postgresql.Driver" 35 url = "jdbc:postgresql://localhost:5432/gscf" 45 // MySQL 46 //url = "jdbc:mysql://localhost/gscf" 36 47 37 //MySQL 38 //url = "jdbc:mysql://localhost/gscf" 39 40 //In memory 41 //driverClassName = "com.mysql.jdbc.Driver" 42 //url = "jdbc:hsqldb:file:prodDb;shutdown=true" 48 //In memory 49 //driverClassName = "com.mysql.jdbc.Driver" 50 //url = "jdbc:hsqldb:file:prodDb;shutdown=true" 43 51 } 44 52 }
Note: See TracChangeset
for help on using the changeset viewer.