emqx_auth_mysql启动报错

环境信息

  • EMQ X 版本:emqx-windows-4.3.4
  • 操作系统及版本:win10 64位、windows server 2016
  • 其他
    MySql版本5.6

问题描述

{emqx_auth_mysql,{bad_return,{{emqx_auth_mysql_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,emqx_auth_mysql,{shutdown,{failed_to_start_child,worker_sup,{shutdown,{failed_to_start_child,{worker,1},{1045,<<"28000">>,<<"Access denied for user ''@'localhost' (using password: NO)">>}}}}}}}}},[{emqx_auth_mysql_app,start,2,[{file,"emqx_auth_mysql_app.erl"},{line,38}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,277}]}]}}}}}


mysql数据库连接的账号密码没开启,auth.mysql.username 和auth.mysql.password去掉#号按实际填写试试

非常感谢,去掉#号就可以了! :grimacing: