如何将Neo4j JDBC驱动程序与DbVisualizer连接 [英] How to connect Neo4j JDBC driver with DbVisualizer
问题描述
我正在运行Neo4j 2.1.6,也尝试过Neo4j 2.20. 我无法将其与DbVisualizer 9.1.13
I am running Neo4j 2.1.6, tried Neo4j 2.20 as well. I can not connect it with DbVisualizer 9.1.13
我无法找到任何逐步的明确解释.
And I can not find ANY step by step clear explanation on how to do it.
首先,我有二进制JDBC Neo4j-2.0.1-SNAPSHOT
First I've got binary JDBC Neo4j-2.0.1-SNAPSHOT here
我可以从浏览器localhost:7474运行刚安装的Neo4j实例 而且我不知道REST API的全部含义,以及默认情况下是否已将其打开.
I can run my just installed Neo4j instance from the browser localhost:7474 and I don't know what the REST API is all about and if it is turned on by default.
我可以以与用户授权的新功能相同的方式运行Neo4j 2.20,但不确定该JDBC驱动程序是否与它兼容.我的用户:pass是neo4j:neo
I can run the Neo4j 2.20 same way that comes with a new feature of user authorization and I am not sure if that JDBC driver is compatible with it. My user:pass is neo4j:neo
因此,在DbVisualizer中,我单击工具"->驱动程序管理器",并按如下所示进行填写:
So in DbVisualizer I clicked Tools->Driver Manager and filled out like this:
我的连接属性如下:
我在连接时遇到错误:
产品:DbVisualizer Pro 9.1.13
Product: DbVisualizer Pro 9.1.13
内部版本:#2310(2015-01-11 11:26:27)
Build: #2310 (2015-01-11 11:26:27)
Java版本:1.8.0_25
Java Version: 1.8.0_25
操作系统名称:Windows Server 2012 R2
OS Name: Windows Server 2012 R2
建立连接时发生错误: 所选的驱动程序无法处理指定的数据库URL. 出现此错误的最常见原因是数据库URL 包含语法错误,阻止驱动程序接受它. 尝试连接数据库时也会发生该错误 错误的驱动程序.
An error occurred while establishing the connection: The selected Driver cannot handle the specified Database URL. The most common reason for this error is that the database URL contains a syntax error preventing the driver from accepting it. The error also occurs when trying to connect to a database with the wrong driver.
推荐答案
如果您查看 jdbc驱动程序的文档,您会看到数据库URL为:
If you look at the documentation for the jdbc driver, you see that the database URL is:
jdbc:neo4j://localhost:7474/
请先尝试使其与2.1.6一起使用.
Please try to make it work with 2.1.6 first.
对于2.2.验证时,您必须使用取回的令牌作为密码.
For the 2.2. auth you have to use the token you got back as password.
这篇关于如何将Neo4j JDBC驱动程序与DbVisualizer连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!