forked from liweijie/education
连接字符串修改
This commit is contained in:
@@ -3,8 +3,8 @@ spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
# 达梦连接串:ip:端口,schema指定默认模式
|
||||
url: jdbc:opengauss://10.1.1.17:5433/jwgl?currentSchema=jwg1&batchMode=off&stringtype=unspecified
|
||||
username: jwg1
|
||||
url: jdbc:opengauss://10.1.1.17:5436/jwgl?currentSchema=jwgl&batchMode=off&stringtype=unspecified
|
||||
username: jwgl
|
||||
password: Jiaowu123
|
||||
driver-class-name: org.opengauss.Driver
|
||||
|
||||
@@ -29,7 +29,7 @@ spring:
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
validationQuery: SELECT 1
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
|
||||
Reference in New Issue
Block a user