Upgrade guide

Upgrade to version 4.3

emqx_auth_mnesia plugin now supports rules based on both clientid and username. Previously only one type of filter was supported, as configured in etc/plugins/emqx_auth_mnesia.conf file. In order to import data from the previous EMQ X versions, it is necessary to specify the value of this parameter by passing it as a CLI option:

  1. $ emqx_ctl data import <filename> --env '{"auth.mnesia.as":"username"}'

or

  1. $ emqx_ctl data import <filename> --env '{"auth.mnesia.as":"clientid"}'

Or by editing the import file using the same format.