修改mqtt非设备连接账号密码
This commit is contained in:
@ -6,7 +6,7 @@ spring:
|
|||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://w.hanzhenyun.com:3306/wumei2.4?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://182.40.196.154:3306/wumei2.4?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: wumei2.4
|
username: wumei2.4
|
||||||
password: rtB8EhbRRYSGyxHw
|
password: rtB8EhbRRYSGyxHw
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
@ -71,8 +71,8 @@ spring:
|
|||||||
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||||
# mqtt 配置
|
# mqtt 配置
|
||||||
mqtt:
|
mqtt:
|
||||||
username: fastbee # 账号
|
username: HZmqttLink # 账号
|
||||||
password: fastbee # 密码
|
password: HanZhen2025! # 密码
|
||||||
host-url: tcp://localhost:1883 # mqtt连接tcp地址
|
host-url: tcp://localhost:1883 # mqtt连接tcp地址
|
||||||
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||||
# client-id: mqttx_22ee8d0f # 客户端Id,不能相同,采用随机数 ${random.value}
|
# client-id: mqttx_22ee8d0f # 客户端Id,不能相同,采用随机数 ${random.value}
|
||||||
|
Reference in New Issue
Block a user