openfire 安装配置时出现The Openfire database schema does not appear to be installed. Follow the installati错

Posted 西贝小小凤

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openfire 安装配置时出现The Openfire database schema does not appear to be installed. Follow the installati错相关的知识,希望对你有一定的参考价值。

最近再弄openfire用openLDAP整合,本来没整合的时候选的标准数据库没问题,但是现在用嵌入式数据库,就报错了,,,

报错原因:没有导入openfire的数据表

解放办法:

1、登陆数据库 ,我装的是mysql

mysql -u root -p;

2、选择数据库

use openfire

3、导入数据表

source /openfire_mysql.sql
注意:这个数据库在哪里呢?我的是在ubuntu系统上的,默认openfire的安装路径是/usr/share/openfire/

数据库在/usr/share/openfire/resources/database,用的是mysql数据库,所以说就选择里面的openfire_mysql.sql

因为这个路径太费劲了,我就直接把它复制到根目录,

然后导入数据库,刷新,退出,再重新选择数据库就不会出现这个问题了。

以上是关于openfire 安装配置时出现The Openfire database schema does not appear to be installed. Follow the installati错的主要内容,如果未能解决你的问题,请参考以下文章

启动eclipse时出现“Failed to load the JNI shared library jvm.dll”错误及解决

Python安装Pillow时出现The headers or library files could not be found for zlib/jpeg错误

VMware 12安装CentOS 6.9时出现:The centos disc was not found in any of your drives.Please insert the cento

安装mysql时出现initialize specified but the data directory has files in in.Aborting. 该如何解决

maven配置时出现:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec

maven配置时出现:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec