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

Z
change  
zyyang 已提交
7 8 9 10 11 12
# datasource config - JDBC-RESTful
#spring.datasource.driver-class-name=com.taosdata.jdbc.rs.RestfulDriver
#spring.datasource.url=jdbc:TAOS-RS://master:6041/test?timezone=UTC-8&charset=UTF-8&locale=en_US.UTF-8
#spring.datasource.username=root
#spring.datasource.password=taosdata

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

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

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