Im trying to import csv files from disk with cypher commands as shown in the tutorial, but Im getting \"Couldn\'t load the external resourse at: externalResourceFailure. Is
You have to put the files into the import directory in neo4j.
it will work if path like this "file:///C:/myfile.csv"
On mac: create a folder inside the Neo4j directory. Neo4j will install in Documents (by default)
mkdir /Users//Documents/Neo4j/default.graphdb/import
Copy your file in this location
Use it like this
USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM "file:///user_list.csv" as row create (:Users {userId: row.USER_ID });
The Windows and Linux file systems require different file URI schemes for streaming over HTTP. Neo4j's LOAD CSV
Cypher clause makes an HTTP web request to the URI of a file and not the file system path.
For more information on file URI schemes on Windows please take a look at: http://en.wikipedia.org/wiki/File_URI_scheme#Windows_2
You can also create a folder import into your neo4j installation folder and run a cipher like this
LOAD CSV WITH HEADERS FROM "file:///yourcsvfile.csv" AS row
take alook at SyntaxException with Neo4j LOAD command
in the question, step 3, please check if you path to the file is correct on your operating system:
the syntax for accessing a local file on windows is simply "file:c:/nosql/test/unclaimed.csv" and not file:// as might be inferred from examples on ...