声纳默认身份验证失败

发布于 2024-11-14 06:10:01 字数 590 浏览 2 评论 0原文

我使用 MySql 5.1 在 Windows 服务器上运行 Sonar 安装,

我将管理员密码保留为默认值 admin 并创建了第二个用户密码,所有这些都有效。几个月没有真正使用 Sonar 后,我尝试登录,但两个帐户都始终无法进行身份验证。

以下是我解决此问题所采取的步骤:

  1. 更新到最新的 Sonar 2.8,该版本成功更新了数据库
  2. 使用我从 Sonar 文档获得的 sql 设置密码。

    update users set crypted_pa​​ssword = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin'

  3. 停止 MySQLserver 以确保其连接到我期待的数据库 也。 (是)
  4. 将日志级别设置为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:

  1. Update to the latest Sonar 2.8 which successfully updated the database
  2. Set the password with sql I got from the Sonar docs.

    update users set crypted_password = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin'

  3. Stopped the MySQLserver to make sure its connecting to the database I'm expecting it too. (It was)
  4. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谎言月老 2024-11-21 06:10:01

您可以按照 Sonar 常见问题解答重置帐户吗?

Can you reset the accounts as per the Sonar FAQ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文