gpt4 book ai didi

sonarqube - Sonar 安装问题

转载 作者:行者123 更新时间:2023-12-02 19:14:34 24 4
gpt4 key购买 nike

有关安装的信息

使用嵌入式数据库Derbis

问题:

我运行bin/windows-x86-32/StartSonar.bat,然后单击http://localhost:9000

点击此按钮后,我收到以下错误:

We're sorry, but something went wrong.
Please try back in a few minutes and contact support if the problem persists.
<%= link_to "Go back to the homepage", home_path %>

您知道如何处理该错误消息吗?

最佳答案

当数据库设置不正确时(本地有问题,在这种情况下我尝试全新安装),我通常会收到该消息。
或者您可以关联的 mysql 数据库有问题(sonar.jdbc.username 文件中的“sonar.jdbc.password”或“sonar.properties”错误。)。
或者嵌入式数据库的默认端口 ( jdbc:derby://localhost:1527/sonar;create=true ) 在您的服务器/工作站上不可用。

<小时/>

如果您使用的是 Mysql 数据库(不是您的情况),则需要先创建它:

mysql [localhost] {root} ((none)) > CREATE DATABASE IF NOT EXISTS sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
Query OK, 1 row affected (0.01 sec)

mysql [localhost] {root} ((none)) > grant all privileges on sonar.* to 'sonar'@'localhost' identified by 'sonar';
Query OK, 0 rows affected (0.00 sec)

mysql [localhost] {root} ((none)) > flush privileges;
Query OK, 0 rows affected (0.00 sec)

关于sonarqube - Sonar 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4791051/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com