sonarqube 5.3版本不再支持声纳jdbc属性

时间:2016-02-05 17:50:08

标签: sonarqube

我正在使用sonarqube 5.3最新版本,当我使用

在我的属性文件中配置声纳jdbc属性时
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提供的嵌入式数据库?

1 个答案:

答案 0 :(得分:23)

您只需配置sonar.host.url即可。扫描仪和服务器之间的所有通信都通过Web服务完成,扫描仪根本不再与数据库通信。

相关问题