From 530c6e4645393eaa6a1cdc163f24ff7f15600031 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 30 Jun 2016 15:50:46 +0800 Subject: [PATCH] update docs for https://github.com/emqtt/emqttd_plugin_mysql/issues/13 --- docs/source/guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}