1
#����Դ����
2
3
spring.datasource.type = com.alibaba.druid.pool.DruidDataSource
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
4
# ����
5
#spring.datasource.druid.master.url=jdbc:mysql://172.16.29.45:3306/wms_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2b8
6
#spring.datasource.druid.master.url=jdbc:mysql://172.16.29.45:3306/huahengExample?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
7
spring.datasource.druid.master.url=jdbc:mysql://172.16.29.45:3306/wms_v2?characterEncoding=utf8&serverTimezone=GMT%2b8
8
9
10
11
12
spring.datasource.druid.master.username=softhuaheng
spring.datasource.druid.master.password=HHrobot123.
#spring.datasource.druid.master.username=root
#spring.datasource.druid.master.password=123456
13
# �ӿ�
14
spring.datasource.druid.slave.open = false
15
spring.datasource.druid.slave.url=jdbc:mysql://199.19.109.117:3306/wms_v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
16
17
#spring.datasource.druid.master.username=softhuaheng
#spring.datasource.druid.master.password=HHrobot123.
18
# ��ʼ������
19
spring.datasource.druid.initial-size=4
20
# ������ӳ�����
21
spring.datasource.druid.max-active=10
22
# ��С���ӳ�����
23
spring.datasource.druid.min-idle=4
24
# ���û�ȡ���ӵȴ���ʱ��ʱ��
25
spring.datasource.druid.max-wait=60000
26
# ��PSCache������ָ��ÿ��������PSCache�Ĵ�С
27
28
spring.datasource.druid.pool-prepared-statements=true
spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20
29
# ���ü����òŽ���һ�μ�⣬�����Ҫ�رյĿ������ӣ���λ�Ǻ���
30
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
31
# ����һ�������ڳ�����С�����ʱ�䣬��λ�Ǻ���
32
33
34
35
36
37
38
39
40
41
spring.datasource.druid.min-evictable-idle-time-millis=300000
spring.datasource.druid.validation-query=SELECT 1 FROM DUAL
spring.datasource.druid.test-while-idle=true
spring.datasource.druid.test-on-borrow=false
spring.datasource.druid.test-on-return=false
spring.datasource.druid.stat-view-servlet.enabled=true
spring.datasource.druid.stat-view-servlet.url-pattern=/monitor/druid/*
spring.datasource.druid.filter.stat.log-slow-sql=true
spring.datasource.druid.filter.stat.slow-sql-millis=1000
spring.datasource.druid.filter.stat.merge-sql=false
42
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
huhai
authored
5 years ago
43
44
45
#��־����
46
47
48
49
logging.level.com.huaheng=debug
logging.level.org.springframework=warn
logging.level.spring.springboot.dao=DEBUG
50
#���Է���˿ڡ�������ĿcontextPath
51
server.servlet.context-path= /wms