0
我在一个服务器上我想要连接的套接字实际上是一个文件。确切地说是/var/opt/gitlab/postgresql/.s.PGSQL.5432
。使sonarqube连接到unix套接字
我发现覆盖sonarqube的dp连接的文档是https://jdbc.postgresql.org/documentation/80/connect.html和https://docs.sonarqube.org/display/SONAR/Installing+the+Server会导致我相信连接到unix套接字是不可能的。
是否有可能,以及sonar.jdbc.url
完成此操作的格式是什么?
这是sonarqube文档使用示例:我试图做这样的事情
sonar.jdbc.url=jdbc:postgresql://localhost/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
:
sonar.jdbc.url=jdbc:postgresql://var/opt/gitlab/postgresql/.s.PGSQL.5432/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
感谢您的时间。