plugin.config 344 B

1234567891011121314151617
  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. {user_table, mqtt_users},
  12. {password_hash, plain},
  13. {field_mapper, [
  14. {username, username},
  15. {password, password}
  16. ]}
  17. ]}