安装完openfire登录管理控制提示:
Login failed:make sure your username and password are correct and that you’re an admin or moderator
解决方案如下:
1.使用Mysql查看工具进入数据库,进入表“ofuser”,将该表清空,然后执行该SQL
INSERT INTO ofUser (username, plainPassword, name, email, creationDate, modificationDate)
VALUES ('admin', 'admin', 'Administrator', 'admin@example.com', '0', '0');
2.关闭openfire服务,就是从其控制台stop然后再start,再用用户名:admin,密码:admin登录即可