使用Pentaho Spoon与Neo4j建立数据库连接 [英] Database connection to Neo4j with Pentaho Spoon
问题描述
我想用Pentaho水壶勺连接到Neo4j.我使用此下载了neo4j的jdbc驱动程序,并尝试使用
I want to connect to Neo4j with Pentaho Kettle Spoon. I downloaded jdbc driver of neo4j with this and I tried to use this guide to connect to neo4j with Pentaho Kettle Spoon.
I have two main problems:
- 下载的JDBC驱动程序是zip文件.
我将驱动程序扩展名更改为jar以解决此问题. - 当我将扩展名更改为jar并将其复制到lib文件夹中,并按照本指南我遇到了驱动程序错误:
- downloaded JDBC Driver is zip file.
I changed Driver extension to jar for solving this problem. - when I changed extension to jar and copy it in lib folder and follow this guide I faced missing driver error:
找不到org.neo4j.jdbc.Driver
org.neo4j.jdbc.Driver could not be found
我该如何解决这些问题?
How can I solve these problems?
推荐答案
您不能重命名从Github下载的.zip文件并添加到lib文件夹.您需要编译源代码并将.jar文件添加到其中. 或者,您可以从
You can not rename the .zip file you downloaded from Github and add to lib folder. You need to compile the source code and add the .jar file to it.
Or you can download the already compiled file from here and add to the data-integration\lib
folder and restart the spoon.
在Table Input
步骤中选择
- 连接类型为
Generic database
- 自定义连接网址
为
jdbc:neo4j://localhost:7474
- 自定义驱动程序类名称为
org.neo4j.jdbc.Driver
- Connection type as
Generic database
- Custom connection URL
as
jdbc:neo4j://localhost:7474
- Custom driver class name as
org.neo4j.jdbc.Driver
这篇关于使用Pentaho Spoon与Neo4j建立数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!