emqx_auth_mysql反复重启

版本: 4.4.3
问题: EMQX_AUTH_MYSQL反复重启,重启过程中消息投递失败,反馈:Cannot publish message to xxxxx due to Not authorized.

什么原因?EMQX 应该有日志的,发上来看看

2025-01-24T06:22:55.497113+00:00 [debug] action: fun emqx_auth_mysql:check/3, file: emqx_hooks.erl, hookpoint: ‘client.authenticate’, line: 291, mfa: {emqx_hooks,handle_cast,2}, msg: emqx_hook_removed, pid: <0.2428.0>
2025-01-24T06:22:55.497406+00:00 [debug] action: fun emqx_acl_mysql:check_acl/5, file: emqx_hooks.erl, hookpoint: ‘client.check_acl’, line: 291, mfa: {emqx_hooks,handle_cast,2}, msg: emqx_hook_removed, pid: <0.2428.0>
2025-01-24T06:22:55.517078+00:00 [notice] Application: emqx_auth_mysql. Exited: stopped. Type: temporary.
2025-01-24T06:22:55.517259+00:00 [info] [Plugins] Stop plugin emqx_auth_mysql successfully
2025-01-24T06:22:55.517953+00:00 [error] [Plugins] Write File “/mounted/plugins/data/loaded_plugins” Error: erofs
2025-01-24T06:22:55.526825+00:00 [debug] Adding Defaults
2025-01-24T06:22:55.526962+00:00 [debug] Right Hand Side Substitutions
2025-01-24T06:22:55.527041+00:00 [debug] Applying Datatypes
2025-01-24T06:22:55.527285+00:00 [debug] Validation
2025-01-24T06:22:55.527364+00:00 [debug] Applied 1:1 Mappings
2025-01-24T06:22:55.527448+00:00 [debug] Running translation for emqx_auth_mysql.server
2025-01-24T06:22:55.527734+00:00 [debug] Running translation for emqx_auth_mysql.password_hash
2025-01-24T06:22:55.527812+00:00 [debug] Applied Translations
2025-01-24T06:22:55.637313+00:00 [info] [Plugins] Started plugins: [emqx_auth_mysql]
2025-01-24T06:22:55.637489+00:00 [info] [Plugins] Load plugin emqx_auth_mysql successfully
2025-01-24T06:22:58.341818+00:00 [info] 10.100.6.13:40601 file: emqx_connection.erl, line: 559, mfa: {emqx_connection,terminate,2}, msg: terminate, pid: <0.16525.25>, reason: {shutdown,tcp_closed}

这个是 docker 不让写这个文件目录,你可以把 data 给 mount 出来