Prosody在更新为Debian Buster后拒绝连接到MySQL数据库

时间:2019-12-01 10:10:54

标签: lua debian mysql-connector debian-buster prosody-im

我将服务器更新为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,现在为0.7.1-2 amd64”和“ lua-sql-mysql / stable,现在为2.3.4-1 + b1 amd64”

0 个答案:

没有答案