neo4jrb / neo4j-ruby-driver

Neo4j Ruby Driver
MIT License
39 stars 29 forks source link

Cannot parse Neo4j/v5.11.0 compatible graph database server when connecting to Memgraph DB #230

Open gcleaves opened 5 months ago

gcleaves commented 5 months ago

Hello. I'm trying to connect to Memgraph, which is a graph db highly compatible with Neo4j. Unfortunately I receive the error in the title. It looks like this driver has explicitly defined which servers it is allowed to connect to.

Is there a way to disable this server enforcement so I can connect to Memgraph?

Thanks.

petergebala commented 5 months ago

Hey,

It looks like neo4j-ruby-driver and ActiveGraph supports neo4j only. Memgraph documentation is misleading by saying that activegraph supports it.

We also tried to use a memgraph in our project. For stable connection and green tests, we had to monkey-patch 1000x of lines in both ActiveGraph and neo4j-ruby-driver. But it hasn't gone out of the testing phase yet.

It would be awesome to have built-in support for other graph databases that are using bolt and cypher. But I know it is not easy and cheap to support that here.

gcleaves commented 5 months ago

In my case, my goal is to make raw queries to and get raw results from Memgraph using Ruby. I'm not interested in the ActiveGraph logic. I thought I might be able to do that with neo4j-ruby-driver.