有关安装的信息
使用嵌入式数据库Derbis
问题 :
I run bin/windows-x86-32/StartSonar.bat
然后单击http://本地主机:9000 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
' or 'sonar.jdbc.password
' in sonar.properties
file.).
或者嵌入式数据库的默认端口(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)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)