我正在尝试使用web admin(即localhost:7474/browser)在一次查询中删除cyphper中的100万个节点.
这些节点标记为User.我运行以下查询,然后等待大约1分钟后返回未知错误.
match (u:User) delete u
Run Code Online (Sandbox Code Playgroud)
此查询每次都返回Unknown错误.我确认我的PC资源并不缺乏.我正在使用Neo4j版本2.0.0 RC1社区版.和Neo4j在当地举办.
我尝试删除节点的方法是错误的吗?
谢谢
我的 SonarQube 在 Microsoft Azure 的 VM 实例上运行。现在 SonarQube 的数据库是 MySQL,我正在尝试将 MySQL 更改为 Azure SQL 数据库,但是由于 ActiveRecord 组件中发生的一些错误,SonarQube 无法连接 Azure SQL 数据库。我知道 SonarQube 不正式支持 Azure SQL 数据库并支持下面的 SQL Server,但是 Azure SQL 数据库与 SQL Server 兼容,因此可以连接 Azure SQL 数据库。如果有人知道,请告诉我如何连接 Azure SQL 数据库。
sonar.properties:
sonar.jdbc.username=sonar@<server>
sonar.jdbc.password=<password>
sonar.jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver
jdbc:jtds:sqlserver://<server>.database.windows.net:1433/<databasename>;ssl=require
Run Code Online (Sandbox Code Playgroud)
错误跟踪:
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' …
Run Code Online (Sandbox Code Playgroud)