环境
- EMQX 版本:5.3.0
- 操作系统版本:CentOs7.9
重现此问题的步骤
- 配置文件的关于authentication的配置如下:
authentication.1.enable = true
authentication.1.mechanism = password_based
authentication.1.backend = mysql
authentication.1.server = “127.0.0.1:3806”
authentication.1.database =
authentication.1.username =
authentication.1.password = “”
authentication.1.password_hash_algorithm.name = sha256
authentication.1.password_hash_algorithm.salt_position = disable
authentication.1.pool_size = 8
authentication.1.query = “SELECT password, salt FROM mqtt_user where username = ${username} LIMIT 1”
预期行为
正常启动
实际行为
报错:kind => validation_error,path => “authentication.1”,reason => “missing_mechanism_field”