You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.2 KiB

spring.datasource.druid.dynamicUrl=jdbc:mysql://localhost:3306/${schema}
#spring.datasource.druid.url=jdbc:mysql://127.0.0.1:3306/db_encryptmoneypacket?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
#spring.datasource.druid.username=root
#spring.datasource.druid.password=111111
spring.datasource.druid.url=jdbc:mysql://49.232.6.143/tall?useUnicode=true&characterEncoding=UTF-8
spring.datasource.druid.username=root
spring.datasource.druid.password=po3OynBO[M3579p6L7)o
spring.datasource.druid.driverClassName=com.mysql.jdbc.Driver
# ���ӳص�������Ϣ
# ��ʼ����С����С������
spring.datasource.druid.initialSize=5
spring.datasource.druid.minIdle=5
spring.datasource.druid.maxActive=20
# ���û�ȡ���ӵȴ���ʱ��ʱ��
spring.datasource.druid.maxWait=60000
# ���ü������òŽ���һ�μ��⣬������Ҫ�رյĿ������ӣ���λ�Ǻ���
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
# ����һ�������ڳ�����С������ʱ�䣬��λ�Ǻ���
spring.datasource.druid.minEvictableIdleTimeMillis=300000
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
spring.datasource.druid.testWhileIdle=true
spring.datasource.druid.testOnBorrow=false
spring.datasource.druid.testOnReturn=false
# ����PSCache������ָ��ÿ��������PSCache�Ĵ�С
spring.datasource.druid.poolPreparedStatements=true
spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20
# ���ü���ͳ�����ص�filters��ȥ�������ؽ���sql�޷�ͳ�ƣ�'wall'���ڷ���ǽ
#spring.datasource.druid.filters=stat,wall,log4j
spring.datasource.druid.filters=stat,wall
# ͨ��connectProperties����������mergeSql���ܣ���SQL��¼
spring.datasource.druid.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
# Druid������Ϣ
spring.datasource.druid.servletName=druidServlet
spring.datasource.druid.servletUrlMapping=/druid/*
spring.datasource.druid.servletLoginUsername=druid
spring.datasource.druid.servletLoginPassword=111111
spring.datasource.druid.servletLogSlowSql=true
spring.datasource.druid.servletResetEnable=true
spring.datasource.druid.filterName=druidFilter
spring.datasource.druid.filterUrlPattern=/*
spring.datasource.druid.filterExclusions=*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*
spring.datasource.druid.filterProfileEnable=true