声纳默认身份验证失败
我使用 MySql 5.1 在 Windows 服务器上运行 Sonar 安装,
我将管理员密码保留为默认值 admin 并创建了第二个用户密码,所有这些都有效。几个月没有真正使用 Sonar 后,我尝试登录,但两个帐户都始终无法进行身份验证。
以下是我解决此问题所采取的步骤:
- 更新到最新的 Sonar 2.8,该版本成功更新了数据库
使用我从 Sonar 文档获得的 sql 设置密码。
update users set crypted_password = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin'
- 停止 MySQLserver 以确保其连接到我期待的数据库 也。 (是)
- 将日志级别设置为DEBUG,查看日志中是否有任何内容,但什么也没有。
我知道我可以删除数据库并从头开始,但理想情况下我希望保留 12 个月的构建历史记录。
有什么建议吗?
I have a Sonar install running on a windows server using MySql 5.1
I left my admin password at its default of admin and created a second users password all of which worked. After a break of a few months of not really using Sonar I tried to log in and it constantly fails to authenticate on both accounts.
These are the steps I have taken to resolve it:
- Update to the latest Sonar 2.8 which successfully updated the database
Set the password with sql I got from the Sonar docs.
update users set crypted_password = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin'
- Stopped the MySQLserver to make sure its connecting to the database I'm expecting it too. (It was)
- Set the log level to DEBUG to see if there is anything in the logs but there was nothing.
I know I could drop the database and start from scratch but ideally I would like to keep the 12 months of build history I have.
Any suggestion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以按照 Sonar 常见问题解答重置帐户吗?
Can you reset the accounts as per the Sonar FAQ?