Changeset 946 for branches/features/purchaseOrders/gnuMims-config.groovy
- Timestamp:
- May 25, 2011, 1:50:46 PM (13 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
branches/features/purchaseOrders/gnuMims-config.groovy
r942 r946 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://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://sql01:3306/${appNameLowerCase}_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 62 63 } 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.