Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Lua Prosody在更新到Debian Buster后拒绝连接MySQL数据库_Lua_Debian_Mysql Connector_Debian Buster_Prosody Im - Fatal编程技术网

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

Lua Prosody在更新到Debian Buster后拒绝连接MySQL数据库,lua,debian,mysql-connector,debian-buster,prosody-im,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. No

我将服务器更新为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”。错误消息说您没有安装mysql驱动程序。安装所需的驱动程序。这也是我的理解,但我不知道我应该安装什么额外的软件包。“lua dbi mysql/stable,现在是0.7.1-2 amd64”和“lua sql mysql/stable,现在是2.3.4-1+b1 amd64”不应该包含所有必要的驱动程序吗?奇怪的是,我一安装“lua dbi postgresql”,日志中的最后一句话就变成了“可用的驱动程序是:SQLite3,postgresql”,但是“lua dbi mysql”似乎不足以支持mysql。