SonarQube内部H2数据库的默认凭据? [英] SonarQube default credentials for internal H2 db?

查看:915
本文介绍了SonarQube内部H2数据库的默认凭据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行SonarQube 5.6.1,并试图保存创建的视图.为此,我想看看Sonar(根据其自述文件)用于内部嵌入式DB的H2 DB.

I'm running SonarQube 5.6.1 and am trying to save a view that I created. To do that, I want to take a peek at H2 DB that Sonar (according to it's own readme) uses for internal embedded DB.

我已经运行了H2 jar文件,并且在控制台中能够登录到虚拟DB.如果SonarQUbe正在运行,则无法连接.

I've ran the H2 jar file and in console was able to log in to dummy DB. If SonarQUbe is running, I can't connect.

那么,该数据库的默认凭据是什么? 尝试了我的用户凭据和admin/admin,没有任何作用. SonarQube管理员用户默认为Admin/admin.

So, what are default credentials for that DB? Tried my user credentials and admin/admin, none work. Admin/admin is default for SonarQube administrator user.

推荐答案

默认值为 sonar/sonar .

编辑:在SonarQube 5.6.x时已回答此问题.最新版本(例如v6.7 LTS)可能已更改为空的用户名/密码(适用于嵌入式数据库).

Edit: this was answered at the time of SonarQube 5.6.x. Recent versions (e.g. v6.7 LTS) might have changed to empty username/password (for embedded database).

这篇关于SonarQube内部H2数据库的默认凭据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆