start mysql auth plugin

This commit is contained in:
Feng Lee 2015-05-06 02:06:26 +08:00
parent 955d9c4ef8
commit 897d38c264
1 changed files with 12 additions and 12 deletions

View File

@ -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,