Tag: Azure的SQL数据库

SonarQube可以连接Azure SQL数据库吗?

我的SonarQube正在Microsoft Azure的VM实例上运行。 现在SonarQube的数据库是MySQL,我正在尝试将MySQL更改为Azure SQL数据库,但是SonarQube无法通过ActiveRecord组件中出现的一些错误来连接Azure SQL数据库。 我知道SonarQube不正式支持Azure SQL数据库并且下面支持SQL Server,但Azure SQL数据库与SQL Server兼容,因此可以连接Azure SQL数据库。 如果有人知道,请告诉我如何连接Azure SQL数据库。 SonarQube的支持数据库 sonar.properties: sonar.jdbc.username=sonar@ sonar.jdbc.password= sonar.jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver jdbc:jtds:sqlserver://.database.windows.net:1433/;ssl=require 错误跟踪: org.jruby.rack.RackInitializationException: no connection available from arjdbc/jdbc/RubyJdbcConnection.java:517:in `set_native_database_types’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/connection.rb:61:in `initialize’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:31:in `initialize’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/connection_methods.rb:6:in `jdbc_connection’ from org/jruby/RubyKernel.java:2227:in `send’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `checkout’ from org/jruby/RubyKernel.java:1519:in `loop’ from /opt/sonar/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `checkout’ from […]