Changeset 945 for trunk/grails-app
- Timestamp:
- May 24, 2011, 12:54:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/DataSource.groovy
r923 r945 15 15 // If nothing specified then do nothing to database schema. 16 16 17 def appNameLowerCase = appName.toLowerCase() 18 17 19 // Environment specific settings. 18 20 // All production config is in external config. … … 29 31 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 30 32 // driverClassName = "com.mysql.jdbc.Driver" 31 // username = " gnumimsadmin"32 // password = " gnumimsadmin"33 // username = "${appNameLowerCase}admin" 34 // password = "${appNameLowerCase}admin" 33 35 // dbCreate = "create-drop" 34 // url = "jdbc:mysql://host:3306/ gnumims_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB"36 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 35 37 } 36 38 } … … 46 48 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 47 49 // driverClassName = "com.mysql.jdbc.Driver" 48 // username = " gnumimsadmin"49 // password = " gnumimsadmin"50 // username = "${appNameLowerCase}admin" 51 // password = "${appNameLowerCase}admin" 50 52 // dbCreate = "update" 51 // url = "jdbc:mysql://host:3306/ gnumims_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB"53 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 52 54 } 53 55 }
Note: See TracChangeset
for help on using the changeset viewer.