Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-21-2022 12:50 AM
I am trying to connect my Rapidminer process with Neo4j database but getting error.
Initially, I thought it might be some issue from the Rapidminer side, but it seems that the JDBC driver has some flaw. I have asked in the Rapidminer community and here is the link to it.
I am using Neo4j v4+ and downloaded the JDBC drivers from this link. Is there any other link from where I can try downloading the drivers?
Solved! Go to Solution.
12-21-2022 05:53 AM - edited 12-21-2022 06:02 AM
Hi @amitpathak ,
Neo4j supplies a JDBC-compliant driver as part of our Labs. @florent_biville has recently updated this to version 5.3, and once it propagates through Maven Central's caches, you can get it from https://search.maven.org/artifact/org.neo4j/neo4j-jdbc-bolt This is a F/OSS JDBC driver, and the 5.0 version should work against both 4.x and 5.x Neo4j databases (I just checked, and 5.0 isn't there yet). This JDBC driver should support what it looks like you are trying to do in your Rapidminer post - that is submitting Cypher queries via JDBC.
Edit: see subsequent posts... for Neo4j 4 the earlier version of the JDBC driver should work
J
12-21-2022 02:25 AM - edited 12-21-2022 02:26 AM
Hello, what version of Neo4j are you using exactly?
The JDBC connector will be released soon with v5 support. Until then, only versions of Neo4j up to 4.4 are supported by the JDBC connector.
12-21-2022 05:55 AM - edited 12-21-2022 05:58 AM
Hi, I am using Neo4j 4.0.4 Enterprise version along with neo4j-jdbc-driver-4.0.6.jar.
12-21-2022 05:53 AM - edited 12-21-2022 06:02 AM
Hi @amitpathak ,
Neo4j supplies a JDBC-compliant driver as part of our Labs. @florent_biville has recently updated this to version 5.3, and once it propagates through Maven Central's caches, you can get it from https://search.maven.org/artifact/org.neo4j/neo4j-jdbc-bolt This is a F/OSS JDBC driver, and the 5.0 version should work against both 4.x and 5.x Neo4j databases (I just checked, and 5.0 isn't there yet). This JDBC driver should support what it looks like you are trying to do in your Rapidminer post - that is submitting Cypher queries via JDBC.
Edit: see subsequent posts... for Neo4j 4 the earlier version of the JDBC driver should work
J
12-21-2022 06:00 AM
Hi @steggy
Thank you for the response.
Then I guess, I should wait until the v5 is released. Hope that helps me!
12-21-2022 06:01 AM
See below - you can grab 4.0.6
12-21-2022 06:01 AM
@amitpathak - let me refine what i've said above based on your answer. the neo4-jdbc-bolt driver above should work in your situation. You can grab 4.0.6 from Maven, and that should be the latest. The other concern: 4.0.4 is EOL - the long-term support for 4.x is 4.4.x.
12-21-2022 11:22 PM
12-22-2022 01:19 AM
Indeed, that changes with 5.0.0 where neo4j-jdbc-bolt will define the registered java.sql.Driver implementations (the other module will be removed).
However, as you pointed out, in 4.x, the neo4j-jdbc-bolt module does not list them.
12-25-2022 01:13 AM
Hi @steggy and @florent_biville ,
I tried the following with no success-
12-27-2022 01:13 AM - edited 12-27-2022 01:17 AM
Hello, thanks for reporting back, let me try to reproduce these. I'll let you know.
12-27-2022 03:21 AM
I successfully used 4.0.9 and 5.0.0 of neo4j-jdbc-bolt against Neo4j 4.4 and 5 respectively: https://github.com/fbiville/jdbc-experiments.
12-31-2022 10:18 PM
Hi, the "Test Connection" works. Were you able to run a cypher query successfully?
01-02-2023 03:10 AM
Hello and happy new year! Yes, both tests involve executing the simple "RETURN 42"
01-03-2023 04:16 AM
Hi @florent_biville, a very happy new year : ) I tried connecting with community neo4j v4.4.16 with jdbc driver 4.0.6 and successfully able to run cypher queries. Unfortunately, it is not working with enterprise edition. Prompts the same error to change the password.
01-03-2023 05:46 AM
Working now : ) Thankyou for the support.
01-03-2023 06:33 AM
Perfect, I also updated the examples to work with the latest 4.4.x and 5.x enterprise versions: https://github.com/fbiville/jdbc-experiments.
Happy new year to you too!
All the sessions of the conference are now available online