|
|
|
@ -6,9 +6,12 @@ server:
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://localhost:3306/cac?characterEncoding=utf-8&serverTimezone=UTC
|
|
|
|
|
# url: jdbc:mysql://localhost:3306/cac?characterEncoding=utf-8&serverTimezone=UTC
|
|
|
|
|
# username: root
|
|
|
|
|
# password: root
|
|
|
|
|
url: jdbc:mysql://192.168.50.200:3306/mqttcac?characterEncoding=utf-8&serverTimezone=UTC
|
|
|
|
|
username: root
|
|
|
|
|
password: root
|
|
|
|
|
password: 123456
|
|
|
|
|
#sql:
|
|
|
|
|
#init:
|
|
|
|
|
#指定脚本文件位置
|
|
|
|
@ -30,7 +33,7 @@ mybatis:
|
|
|
|
|
#指定mybatis配置文件的位置
|
|
|
|
|
#config-location: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
#指定映射文件的位置
|
|
|
|
|
mapper-locations: classpath:mybatis/mapper/*.xml
|
|
|
|
|
# mapper-locations: classpath:mybatis/mapper/*.xml
|
|
|
|
|
|
|
|
|
|
mqtt:
|
|
|
|
|
publish:
|
|
|
|
|