neo4j / cypher-shell

Cypher Shell has moved to https://github.com/neo4j/neo4j
Other
89 stars 48 forks source link

Unable to connect to casual cluster using bolt+routing protocol #287

Open JnMik opened 3 years ago

JnMik commented 3 years ago

Neo4j version: 4.1.1-enterprise Cypher-shell version: 4.2.2

We have applications connecting to neo4j using bolt+routing and it works well, very useful so we don't have to find the leader. We need to do the same in CLI, but it seems impossible to use bolt+routing with Cyphershell. I find a lot of examples on the web of people doing it, but they all seem to be with an older version of Neo4j (https://neo4j.com/developer/kb/a-demonstration-of-causal-cluster-routing/).

Has this been deprecated or something ?

bash-5.0# cypher-shell -u neo4j -a "bolt+routing://neo4j-v1-neo4j-core.neo4j:7687" -d neo4j
password: ******************************
Invalid address format bolt+routing

Thanks !

JnMik commented 3 years ago

Even if I downgrade cypher-shell to 4.1.x or 4.0.x it doesn't work either, same error message