mosquitto-with-auth/hivemq-to-mosquitto-auth-view.sql

5 lines
217 B
MySQL
Raw Normal View History

2022-11-21 15:18:42 +01:00
create or replace view hivemq_to_mosquitto_auth_v as
select username,
'PBKDF2$' || lower(algorithm) || '$' || password_iterations || '$' || password_salt || '$' || "password" as pw
from users;