Which Neo4j version are you using? If you use it from the shell there is still one bug in the Milestone.
You have to copy opencsv.jar from system/lib to lib/ And probably use cypher 2.1 as prefix for your LOAD CSV command. CYPHER 2.1. LOAD CSV ... Please try that. On Tue, Mar 25, 2014 at 4:07 PM, <[email protected]> wrote: > Im trying to load a csv file into neo4j using neo4j shell. > > load csv with headers from > "file:/home/hduser/Desktop/blogcountrydiet/NODES.csv" as csvimport create > (node {name: csvimport.Name, type: csvimport.Type}) > > But it is throwing error: > > ==> Unknown command 'load' > > Could not able to import anything into neo4j database. > > Can you please tell me the reason or pre-requisites or explain how to > import csv files?? > > Thanks in advance. > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
