diff --git a/docs/source/guide.rst b/docs/source/guide.rst index c732734f4..709c4329f 100644 --- a/docs/source/guide.rst +++ b/docs/source/guide.rst @@ -320,7 +320,7 @@ Configure 'aclquery' and 'acl_nomatch' in emqttd_plugin_mysql/etc/plugin.config: ... %% comment this query, the acl will be disabled - {aclquery, "select * from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'"}, + {aclquery, "select allow, ipaddr, username, clientid, access, topic from mqtt_acl where ipaddr = '%a' or username = '%u' or username = '$all' or clientid = '%c'"}, %% If no rules matched, return... {acl_nomatch, allow}