概述
/etc/emqx/acl.conf
%%--------------------------------------------------------------------
%% [ACL](https://docs.emqx.io/broker/v3/en/config.html)
%%
%% -type(who() :: all | binary() |
%% {ipaddr, esockd_access:cidr()} |
%% {client, binary()} |
%% {user, binary()}).
%%
%% -type(access() :: subscribe | publish | pubsub).
%%
%% -type(topic() :: binary()).
%%
%% -type(rule() :: {allow, all} |
%% {allow, who(), access(), list(topic())} |
%% {deny, all} |
%% {deny, who(), access(), list(topic())}).
%%--------------------------------------------------------------------
%% {allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}.
%% {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}.
%% {deny, all, subscribe, ["$SYS/#", {eq, "#"}]}.
%% {allow, all}.
/etc/emqx/emqx.conf
##===
标签:binary,%%,access,mqtt,allow,mysql,emqx,type,鉴权
来源: https://blog.csdn.net/QiongJiShengBian/article/details/111304397
最后
以上就是瘦瘦芹菜为你收集整理的emqx配置mysql认证,mqtt设置mysql鉴权的全部内容,希望文章能够帮你解决emqx配置mysql认证,mqtt设置mysql鉴权所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复