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