我将我的服务器更新为 Debian Buster,现在 Prosody 0.11.2-1 拒绝连接到 MySQL 数据库。看起来 Prosody 开始正常,但没有用户能够登录到他们的帐户。如果我查看调试日志,我会看到:
Nov 30 22:09:15 sql debug Connecting to [MySQL] prosody...
Nov 30 22:09:15 sql debug Database connection was closed. Will reconnect and retry.
Nov 30 22:09:15 sql debug Retrying SQL transaction [function(mod_storage_sql.lua:137)]
Nov 30 22:09:15 sql debug Connecting to [MySQL] prosody...
Nov 30 22:09:15 sql debug SQL transaction retry failed
Nov 30 22:09:15 sql error Error in SQL transaction: /usr/local/share/lua/5.2/DBI.lua:53: Cannot load driver MySQL. Available drivers are: SQLite3
Lua 版本为 5.2.4,“lua-dbi-mysql/stable,now 0.7.1-2 amd64”和“lua-sql-mysql/stable,now 2.3.4-1+b1 amd64”均已安装。