Blame view

resources/dbconfig.properties 1.42 KB
ad5081d3   孙向锦   初始化项目
1
  #数据源 1
5690803e   孙向锦   修改管理员部分显示页面
2
  url:jdbc:mysql://47.107.98.47:3306/education2?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 
eef2f078   孙向锦   修改域名问题
3
  #url:jdbc:mysql://120.78.57.84:3306/education3?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 
bed6e1fc   孙向锦   添加其他功能
4
  #url:jdbc:mysql://192.168.0.3:3306/education?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 
ad5081d3   孙向锦   初始化项目
5
6
  driverClassName:com.mysql.jdbc.Driver
  username:root
7db3ebeb   孙向锦   添加一些模块
7
8
  #password:elvis
  password:admin
ad5081d3   孙向锦   初始化项目
9
10
11
12
13
14
15
16
17
18
  filters:stat
  maxActive:20
  initialSize:1
  maxWait:60000
  minIdle:10
  maxIdle:15
  timeBetweenEvictionRunsMillis:60000
  minEvictableIdleTimeMillis:300000
  validationQuery:SELECT 'x'
  testWhileIdle:true
7db3ebeb   孙向锦   添加一些模块
19
  testOnBorrow:true
ad5081d3   孙向锦   初始化项目
20
21
22
23
24
25
26
  testOnReturn:false
  maxOpenPreparedStatements:20
  removeAbandoned:true
  removeAbandonedTimeout:1800
  logAbandoned:true
  
  #数据源 2(没启用,不用管,文档大全里面有配置文档)
92455d76   孙向锦   添加更新到服务器
27
  url2:jdbc:mysql://localhost:3306/sunvote2?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 
ad5081d3   孙向锦   初始化项目
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  driverClassName2:com.mysql.jdbc.Driver
  username2:root
  password2:elvis
  filters2:stat
  maxActive2:20
  initialSize2:1
  maxWait2:60000
  minIdle2:10
  maxIdle2:15
  timeBetweenEvictionRunsMillis2:60000
  minEvictableIdleTimeMillis2:300000
  validationQuery2:SELECT 'x'
  testWhileIdle2:true
  testOnBorrow2:false
  testOnReturn2:false
  maxOpenPreparedStatements2:20
  removeAbandoned2:true
  removeAbandonedTimeout2:1800
  logAbandoned2:true