neo4j-ruby-driver icon indicating copy to clipboard operation
neo4j-ruby-driver copied to clipboard

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

Open gcleaves opened this issue 1 year ago • 2 comments

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.

gcleaves avatar Jun 11 '24 16:06 gcleaves

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.

petergebala avatar Jul 01 '24 08:07 petergebala

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.

gcleaves avatar Jul 02 '24 12:07 gcleaves