application.properties 880 字节
Newer Older
Z
change  
zyyang 已提交
1
# datasource config - JDBC-JNI
2 3 4 5 6 7 8 9
#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
#spring.datasource.username=root
#spring.datasource.password=taosdata

# 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
X
xieyinglin 已提交
10 11 12
spring.datasource.username=root
spring.datasource.password=taosdata

Z
change  
zyyang 已提交
13

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

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

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