Changeset 945
- Timestamp:
- May 24, 2011, 12:54:27 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gnuMims-config.groovy
r943 r945 53 53 // password = "${appNameLowerCase}admin" 54 54 // dbCreate = "update" 55 // url = "jdbc:sqlserver:// ${appNameLowerCase}sql01:1433;databaseName=${appNameLowerCase}_prod"55 // url = "jdbc:sqlserver://sql01:1433;databaseName=${appNameLowerCase}_prod" 56 56 /** MySQL */ 57 57 dialect = org.hibernate.dialect.MySQL5InnoDBDialect … … 60 60 password = "${appNameLowerCase}admin" 61 61 dbCreate = "update" 62 url = "jdbc:mysql:// ${appNameLowerCase}sql01:3306/${appNameLowerCase}_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"62 url = "jdbc:mysql://sql01:3306/${appNameLowerCase}_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 63 63 } 64 64 } -
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.