'How to Load Cypher File into Neo4j

I have generated a cypher file and want to load it into neo4j.

The only relevant documentation I could find was about loading csv's.

I also tried the shell but it seems to have no effect

cypher-shell.bat -uneo4j -pne04j < db.cql

Copy paste into localhost:7474/browser makes the browser unresponsive.



Solution 1:[1]

Not sure when this has been added but in the current version (4.4) an alternative way to load a cypher file to NEO4J (GUI) is by dragging and dropping the cypher file over the web browser, which then offers two options, either to add it to the favorites or to paste it in the editor.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 FatihSarigol