application.properties 956 字节
Newer Older
X
xieyinglin 已提交
1 2
# datasource config
spring.datasource.driver-class-name=com.taosdata.jdbc.TSDBDriver
Z
zyyang-taosdata 已提交
3
spring.datasource.url=jdbc:TAOS://localhost:6030/log
X
xieyinglin 已提交
4 5 6 7 8 9 10 11 12
spring.datasource.username=root
spring.datasource.password=taosdata

spring.datasource.druid.initial-size=5
spring.datasource.druid.min-idle=5
spring.datasource.druid.max-active=5
# max wait time for get connection, ms
spring.datasource.druid.max-wait=60000

L
liuyq-617 已提交
13
spring.datasource.druid.validation-query=select server_status();
X
xieyinglin 已提交
14 15 16 17 18 19 20 21 22 23 24 25
spring.datasource.druid.validation-query-timeout=5000
spring.datasource.druid.test-on-borrow=false
spring.datasource.druid.test-on-return=false
spring.datasource.druid.test-while-idle=true
spring.datasource.druid.time-between-eviction-runs-millis=60000
spring.datasource.druid.min-evictable-idle-time-millis=600000
spring.datasource.druid.max-evictable-idle-time-millis=900000


#mybatis
mybatis.mapper-locations=classpath:mapper/*.xml

L
liuyq-617 已提交
26
logging.level.com.taosdata.jdbc.springbootdemo.dao=debug