错误: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.
解决方案:
我是这么做的
1、找到openfire的安装目录里的lib目录,在网上下载一个新的mysql-connector-java-8.0.13.jar ,替换掉里面的8.0.12版本,把13版本重命名为12版本,启动openfire
2、先这么填
结果还是报错
3、最后根据openfire窗口的提示把驱动改为com.mysql.cj.jdbc.Driver,URL加上serverTimezone=GMT就行了