当我配置 mosquitto.conf 文件时,我可以使用默认的 mosquitto.db 实现持久化,但它不能满足我们的需要,所以我想在 mysql 的外部数据库中实现持久化,尽管我在其中添加了代码mosquitto.conf 如下:
db_host 127.0.0.1
db_name test
db_username root
db_password 123456
我仍然无法成功,我不知道我是否配置了错误。
当我配置 mosquitto.conf 文件时,我可以使用默认的 mosquitto.db 实现持久化,但它不能满足我们的需要,所以我想在 mysql 的外部数据库中实现持久化,尽管我在其中添加了代码mosquitto.conf 如下:
db_host 127.0.0.1
db_name test
db_username root
db_password 123456
我仍然无法成功,我不知道我是否配置了错误。