plugin.config 325 B

12345678910111213141516
  1. {emysql, [
  2. {pool, 4},
  3. {host, "localhost"},
  4. {port, 3306},
  5. {username, "root"},
  6. {password, "public"},
  7. {database, "mqtt"},
  8. {encoding, utf8}
  9. ]},
  10. {emqttd_auth_mysql, [
  11. {users_table, mqtt_users},
  12. {field_mapper, [
  13. {username, username},
  14. {password, password, plain}
  15. ]}
  16. ]}