plugins.config 513 B

1234567891011121314151617181920212223242526
  1. [
  2. % {emysql, [
  3. % {pool_size, 4},
  4. % {host, "localhost"},
  5. % {port, 3306},
  6. % {username, "root"},
  7. % {password, "public"},
  8. % {database, "mqtt"},
  9. % {encoding, utf8}
  10. % ]},
  11. % {emqttd_auth_mysql, [
  12. % {user_table, mqtt_users},
  13. % {password_hash, plain},
  14. % {field_mapper, [
  15. % {username, username},
  16. % {password, password}
  17. % ]}
  18. % ]},
  19. % {emqttd_dashboard, [
  20. % {listener,
  21. % {http, 18083, [
  22. % {acceptors, 4},
  23. % {max_clients, 512}]}}
  24. % ]}
  25. %
  26. ].