From 897d38c2648f405fd12d8d5408061bbdb4e0b240 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Wed, 6 May 2015 02:06:26 +0800 Subject: [PATCH] start mysql auth plugin --- rel/files/plugins.config | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/rel/files/plugins.config b/rel/files/plugins.config index c8e850e57..9267dae6e 100644 --- a/rel/files/plugins.config +++ b/rel/files/plugins.config @@ -1,16 +1,16 @@ [ -% {emysql, [ -% {pool_size, 4}, -% {host, "localhost"}, -% {port, 3306}, -% {username, "root"}, -% {password, "public"}, -% {database, "mqtt"}, -% {encoding, utf8} -% ]}, -% {emqttd_auth_mysql, [ -% {user_table, mqtt_users} -% ]} + {emysql, [ + {pool_size, 4}, + {host, "localhost"}, + {port, 3306}, + {username, "root"}, + {password, "public"}, + {database, "mqtt"}, + {encoding, utf8} + ]}, + {emqttd_auth_mysql, [ + {user_table, mqtt_users} + ]} % % {emqttd_dashboard, [ % {listener,