Load data fron local to neo4j

313 views
Skip to first unread message

Naval Chand

unread,
Jul 24, 2016, 2:50:32 PM7/24/16
to Neo4j
could someone tell me how to load data from local E drive file located to neo4j
I have tryd few  like
LOAD CSV WITH HEADERS FROM "file:E:/neo4j/datasets/categories.csv"
LOAD CSV WITH HEADERS FROM "file:///E:/neo4j/datasets/categories.csv"
Unexpected end of input: expected whitespace, '.', node labels, '[', "=~", IN, STARTS, ENDS, CONTAINS, IS, '^', '*', '/', '%', '+', '-', '=', "<>", "!=", '<', '>', "<=", ">=", AND, XOR, OR or AS (line 1, column 67 (offset: 66))
"LOAD CSV WITH HEADERS FROM "file:E:/neo4j/datasets/categories.csv""
                                                                   ^

Michael Hunger

unread,
Jul 24, 2016, 2:54:21 PM7/24/16
to ne...@googlegroups.com
This should work: file:c:/path/to/data.csv

The error message you see is unrelated to the URL.


please note that from Neo4j 3.0 there is an import directory configured from which files are loaded (you can change that import directory in neo4j.conf)



--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Michael Hunger

unread,
Mar 7, 2017, 6:57:15 PM3/7/17
to ne...@googlegroups.com
did you change the config setting to allow import from any location?

What s your full import statement

On Tue, Mar 7, 2017 at 10:33 AM, <tuo...@gmail.com> wrote:
I tried exactly that, the error persists.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages