【问题标题】:sonar jdbc properties are not supported anymore in sonarqube 5.3 versionsonarqube 5.3 版本不再支持声纳 jdbc 属性
【发布时间】:2016-05-15 19:15:18
【问题描述】:

我使用的是 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提供的嵌入式数据库?

【问题讨论】:

    标签: sonarqube


    【解决方案1】:

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

    【讨论】:

    • 目前我也面临同样的问题,有什么办法可以连接到 MySQL 来存储详细信息。这个问题只有在升级到 SonarQube 6 后才会发生
    猜你喜欢
    • 2013-05-20
    • 1970-01-01
    • 1970-01-01
    • 2018-10-14
    • 2017-03-10
    • 1970-01-01
    • 2016-01-22
    • 2021-09-28
    • 1970-01-01
    相关资源
    最近更新 更多