Browse Source

支持mysql

guq 7 years ago
parent
commit
9504255c7f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/config/application-saas-prod.properties

+ 2 - 1
src/main/resources/config/application-saas-prod.properties

@@ -9,4 +9,5 @@ shareJrxmlsWithSubMaster=false
 # saas无需切换数据源
 defaultUserName=SAAS_BIZ
 
-datasource={"SAAS_BIZ":{"driverClassName":"com.mysql.jdbc.Driver","url":"jdbc:mysql://10.10.100.18:3306/saas_biz?characterEncoding=utf-8&useSSL=false","username":"saas","password":"select111***","initialSize":3,"minIdle":0,"maxActive":20,"maxWait":60000,"timeBetweenEvictionRunsMillis":60000,"minEvictableIdleTimeMillis":300000,"validationQuery":"SELECT 1","testWhileIdle":true,"testOnBorrow":true,"testOnReturn":false,"removeAbandoned":true,"removeAbandonedTimeout":120,"logAbandoned":true,"timeBetweenLogStatsMillis":600000,"poolPreparedStatements":true,"maxPoolPreparedStatementPerConnectionSize":20,"filters":"stat,slf4j","connectionProperties":"druid.stat.mergeSql=false;druid.stat.slowSqlMillis=5000"}}
+datasource={"SAAS_BIZ":{"driverClassName":"com.mysql.jdbc.Driver","url":"jdbc:mysql://10.10.100.18:3306/saas_biz?characterEncoding=utf-8&useSSL=false","username":"saas","password":"select111***","initialSize":3,"minIdle":0,"maxActive":20,"maxWait":60000,"timeBetweenEvictionRunsMillis":60000,"minEvictableIdleTimeMillis":300000,"validationQuery":"SELECT 1","testWhileIdle":true,"testOnBorrow":true,"testOnReturn":false,"removeAbandoned":true,"removeAbandonedTimeout":120,"logAbandoned":true,"timeBetweenLogStatsMillis":600000,"poolPreparedStatements":true,"maxPoolPreparedStatementPerConnectionSize":20,"filters":"stat,slf4j","connectionProperties":"druid.stat.mergeSql=false;druid.stat.slowSqlMillis=5000"},\
+  "SAAS_DEMO_BIZ":{"driverClassName":"com.mysql.jdbc.Driver","url":"jdbc:mysql://10.10.100.18:3306/saas_demo_biz?characterEncoding=utf-8&useSSL=false","username":"saas","password":"select111***","initialSize":3,"minIdle":0,"maxActive":20,"maxWait":60000,"timeBetweenEvictionRunsMillis":60000,"minEvictableIdleTimeMillis":300000,"validationQuery":"SELECT 1","testWhileIdle":true,"testOnBorrow":true,"testOnReturn":false,"removeAbandoned":true,"removeAbandonedTimeout":120,"logAbandoned":true,"timeBetweenLogStatsMillis":600000,"poolPreparedStatements":true,"maxPoolPreparedStatementPerConnectionSize":20,"filters":"stat,slf4j","connectionProperties":"druid.stat.mergeSql=false;druid.stat.slowSqlMillis=5000"}}