Openfire 数据库设置错误

Openfire 数据库设置错误

我正在尝试在我的 VPS 服务器上安装 openfire。服务已启动并正在运行。我卡在了 openfire 服务器的数据库配置步骤中。我已经在我的 mysql 服务器上为 openfire 创建了数据库并导入了架构。但是,当我尝试在基于 Web 的设置中使用这些设置时,我收到以下错误:

A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem. 

设置如下 JDBC 驱动类 : com.mysql.jdbc.Driver 数据库 URL : jdbc:mysql://127.0.0.1:3306/openfire_db

我几乎尝试了所有可能的设置,但仍然不起作用。

答案1

听起来您的日志配置可能没有正确设置。大多数 'nix 系统没有 /logs/* 目录(与“logs/error.log”不同且重要,后者是服务的相对路径。)请三重检查日志是否写入合理且可写的位置。

相关内容