grails datasource.groovy

dataSource {
	pooled = true
  driverClassName = "com.MysqL.jdbc.Driver"
  username = "root"
  password = "MysqL"
  //logsql=true
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
    //cache.provider_class='org.hibernate.cache.EhCacheProvider' 
}
// environment specific settings
environments {
    development {
        dataSource {
            dbCreate = "update" // one of 'create','create-drop','update'
            url = "jdbc:MysqL://localhost:3306/GDepot_dev"
        }
    }
	test {
		dataSource {
			dbCreate = "update"
			url = "jdbc:MysqL://localhost:3306/GDepot_test"
		}
	}
	production {
		dataSource {
			dbCreate = "update"
			url = "jdbc:MysqL://localhost:3306/GDepot_dev"
		}
	}
}
grails框架   数据源 MysqL

相关文章

背景:    8月29日,凌晨4点左右,某服务告警,其中一个...
https://support.smartbear.comeadyapi/docs/soapui/steps/g...
有几个选项可用于执行自定义JMeter脚本并扩展基线JMeter功能...
Scala和Java为静态语言,Groovy为动态语言Scala:函数式编程,...
出处:https://www.jianshu.com/p/ce6f8a1f66f4一、一些内部...
在运行groovy的junit方法时,报了这个错误:java.lang.Excep...