File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed
springboot-dubbo-service/src/main/resources
springboot-dubbo-web/src/main/resources Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,24 @@ qiniuyun:
6
6
accessKey : fIf9nYz-wQo3HD1AlhQ5wrUrdjtygUPGe2dpuLlY
7
7
secretKey : ItVUX8sAaxsuj7kgmk3IZ0ip3BHljAx61N8m922C
8
8
bucket : lzqwxr
9
+
10
+ spring :
11
+ # mybatis配置
12
+ datasource :
13
+ username : root
14
+ password : ENC(zRASffFgNlRby/HcIEUo7OPo6PROvVBX)
15
+ url : jdbc:mysql://49.235.126.19:3306/onlineide?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
16
+ driver-class-name : com.mysql.cj.jdbc.Driver
17
+ # durid配置
18
+ type : com.alibaba.druid.pool.DruidDataSource
19
+ initialSize : 5
20
+ minIdle : 5
21
+ maxActive : 20
22
+ maxWait : 60000
23
+ timeBetweenEvictionRunsMillis : 60000
24
+ minEvictableIdleTimeMillis : 300000
25
+ validationQuery : SELECT 1 FROM DUAL
26
+ testWhileIdle : true
27
+ testOnBorrow : false
28
+ testOnReturn : false
29
+ poolPreparedStatements : true
Original file line number Diff line number Diff line change 9
9
qiniuyun :
10
10
accessKey : fIf9nYz-wQo3HD1AlhQ5wrUrdjtygUPGe2dpuLlY
11
11
secretKey : ItVUX8sAaxsuj7kgmk3IZ0ip3BHljAx61N8m922C
12
- bucket : lzqwxr
12
+ bucket : lzqwxr
13
+
14
+ spring :
15
+ # mybatis配置
16
+ datasource :
17
+ username : root
18
+ password : ENC(zRASffFgNlRby/HcIEUo7OPo6PROvVBX)
19
+ url : jdbc:mysql://49.235.126.19:3307/onlineide?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
20
+ driver-class-name : com.mysql.cj.jdbc.Driver
21
+ # durid配置
22
+ type : com.alibaba.druid.pool.DruidDataSource
23
+ initialSize : 5
24
+ minIdle : 5
25
+ maxActive : 20
26
+ maxWait : 60000
27
+ timeBetweenEvictionRunsMillis : 60000
28
+ minEvictableIdleTimeMillis : 300000
29
+ validationQuery : SELECT 1 FROM DUAL
30
+ testWhileIdle : true
31
+ testOnBorrow : false
32
+ testOnReturn : falses
33
+ poolPreparedStatements : true
Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ spring:
15
15
# 静态资源访问
16
16
resources :
17
17
static-locations : file:${resources.route}
18
+ # mybatis配置
19
+ datasource :
20
+ username : root
21
+ password : ENC(zRASffFgNlRby/HcIEUo7OPo6PROvVBX)
22
+ url : jdbc:mysql://49.235.126.19:3306/onlineide?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
23
+ driver-class-name : com.mysql.cj.jdbc.Driver
Original file line number Diff line number Diff line change @@ -18,3 +18,9 @@ spring:
18
18
# 静态资源访问
19
19
resources :
20
20
static-locations : file:${resources.route}
21
+ # mybatis配置
22
+ datasource :
23
+ username : root
24
+ password : ENC(zRASffFgNlRby/HcIEUo7OPo6PROvVBX)
25
+ url : jdbc:mysql://49.235.126.19:3307/onlineide?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
26
+ driver-class-name : com.mysql.cj.jdbc.Driver
You can’t perform that action at this time.
0 commit comments