- Timestamp:
- May 24, 2011, 10:50:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gnuMims-config.groovy
r936 r943 20 20 *******************/ 21 21 def appName = grails.util.Metadata.current.'app.name' 22 def appNameLowerCase = appName.toLowerCase() 22 23 println "EXT($appName): External config start." 23 24 … … 49 50 // dialect = org.hibernate.dialect.SQLServerDialect // MSSQL 2000+2005 Useful with `grails schema-export` 50 51 // driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" 51 // username = " gnumimsadmin"52 // password = " gnumimsadmin"52 // username = "${appNameLowerCase}admin" 53 // password = "${appNameLowerCase}admin" 53 54 // dbCreate = "update" 54 // url = "jdbc:sqlserver:// gnumimssql01:1433;databaseName=gnumims_prod"55 // url = "jdbc:sqlserver://${appNameLowerCase}sql01:1433;databaseName=${appNameLowerCase}_prod" 55 56 /** MySQL */ 56 57 dialect = org.hibernate.dialect.MySQL5InnoDBDialect 57 58 driverClassName = "com.mysql.jdbc.Driver" 58 username = " gnumimsadmin"59 password = " gnumimsadmin"59 username = "${appNameLowerCase}admin" 60 password = "${appNameLowerCase}admin" 60 61 dbCreate = "update" 61 url = "jdbc:mysql:// gnumimssql01:3306/gnumims_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"62 url = "jdbc:mysql://${appNameLowerCase}sql01:3306/${appNameLowerCase}_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 62 63 } 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.