Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-20-2020 10:43 PM
Hi Team,
I have 2 neo4j instances on different linux box.
I want to fetch the Data from both instances using 1 console.
Is there any way to do it?
Thanks in Advance !!
Regards
Akshat
09-21-2020 07:06 AM
You can use Neo4j Fabric for this: https://neo4j.com/docs/operations-manual/current/fabric/introduction/
Or use apoc.load.bolt
to access the other other database from a cypher statement.
09-21-2020 08:21 AM
Hi Stefan,
Thank u so much for providing the inputs.
If possible can u please share one sample query ( apoc.load.bolt ) for accessing the other Neo4j DB installed on other linux server ??
Regards
Akshat
09-21-2020 09:30 PM
Hi Stefan,
I got sample query on web for the apoc.load.bolt but getting error while executing it in my environment.
Below is the query and error:
call apoc.bolt.load("bolt://neo4j:neo4j123@10.144.96.50:7687","match (p:AG2 {EQUIP_NAME: {EQUIP_NAME}} return p" ,{EQUIP_NAME:'INAPAPRRVDYNNB0001OA2AAR001'}) YIELD row
Error:
Sample query found on web:
Please let me know the mistake.
Regards
Akshat
09-22-2020 01:30 PM
In Neo4j 4.x you need to encode cypher parameters using $param
and not {param}
. The curly-brace notation has been deprecated long time ago and removed in 4.0.
All the sessions of the conference are now available online