application.properties 789 字节
Newer Older
Z
change  
zyyang 已提交
1
# datasource config - JDBC-JNI
X
xieyinglin 已提交
2
spring.datasource.driver-class-name=com.taosdata.jdbc.TSDBDriver
Z
change  
zyyang 已提交
3
spring.datasource.url=jdbc:TAOS://127.0.0.1:6030/test?timezone=UTC-8&charset=UTF-8&locale=en_US.UTF-8
X
xieyinglin 已提交
4 5 6
spring.datasource.username=root
spring.datasource.password=taosdata

Z
change  
zyyang 已提交
7 8 9 10
# datasource config - JDBC-RESTful
#spring.datasource.driver-class-name=com.taosdata.jdbc.rs.RestfulDriver
#spring.datasource.url=jdbc:TAOS-RS://master:6041/test?user=root&password=taosdata

X
xieyinglin 已提交
11 12 13
spring.datasource.druid.initial-size=5
spring.datasource.druid.min-idle=5
spring.datasource.druid.max-active=5
Z
change  
zyyang 已提交
14
spring.datasource.druid.max-wait=30000
L
liuyq-617 已提交
15
spring.datasource.druid.validation-query=select server_status();
X
xieyinglin 已提交
16 17 18 19

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

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