不支持 ejabberd 18.09 和 MySQL 版本

ejabberd 18.09 and MySQL version not supported

我已经安装了ejabberd 18.09版本,我根据Using ejabberd with MySQL配置了ejabberd Mysql模块。 ejabberd 正常启动,但我在日志中收到此错误:

2018-11-20 16:27:08.893 [error] <0.438.0>@ejabberd_sql:log:963 MySQL version not supported: MySQL Erlang module might not work correctly.

2018-11-20 16:27:08.893 [debug] <0.449.0>@ejabberd_sql:log:961 p1_mysql_conn: greeting version "8.0.13" (protocol 10) salt ")q#'u:AM" caps 65535 serverchar <<255,2,0,255,195,21,0,0,0,0,0,0,0,0,0,0>> salt2 [126,23,122,96,120,108,41,115,123,66,37,45]

不得不说Mysql版本是8.0.13.0 CE

我有降级 Mysql 或更新 ejabberd Mysql 模块吗?

查看 p1_mysql 库,最近添加了对 MySQL 8 的支持,但尚未包含在任何版本中。您可以尝试手动更新该库,或从 git 开始使用 ejabberd 直到下一个 ejabberd 版本。

https://github.com/processone/p1_mysql/commit/8fc8c08657bebc761c83a6b07dc25824b76a2ecf https://github.com/processone/p1_mysql/commit/fccad9b5e15377d47d51bbfe05ca9646f519f3ef