sonarqube 5.3 版本不再支持声纳 jdbc 属性 [英] sonar jdbc properties are not supported anymore in sonarqube 5.3 version

查看:9
本文介绍了sonarqube 5.3 版本不再支持声纳 jdbc 属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 sonarqube 5.3 最新版本,当我在我的属性文件中配置声纳 jdbc 属性时使用

I am using sonarqube 5.3 latest version and when I configure the sonar jdbc properties in my properties file using

property "sonar.jdbc.url", "jdbc:mysql://localhost:3306/sonar")
property "sonar.jdbc.username", "root")
property "sonar.jdbc.password", "root")

我收到警告消息

Property 'sonar.jdbc.url' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.
Property 'sonar.jdbc.username' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.
Property 'sonar.jdbc.password' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.

如何配置外部数据库而不使用sonarqube提供的嵌入式数据库?

How to configure external database and not use embedded database provided by sonarqube?

推荐答案

只需要配置sonar.host.url.扫描仪和服务器之间的所有通信都是通过 Web 服务完成的,并且扫描仪根本不再与数据库对话.

You only need to configure the sonar.host.url. All communication between scanner and server is done with web services, and the scanner no longer talks to the database at all.

这篇关于sonarqube 5.3 版本不再支持声纳 jdbc 属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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