简体   繁体   中英

Neo4j 3.0.3 Importing CSV

I'm currently on my Mac and I can't seem import csv files. I have tried putting the csv file in my graphdb and use LOAD CSV WITH HEADERS FROM "file:///b.csv" AS B as well as importing it from its original location with LOAD CSV WITH HEADERS FROM "file:///Users/username/Desktop/folder/b.csv" AS B . The main error I receive is "Couldn't load the external resource at:" It seems I have an import in front of my file every time, for example when I do LOAD CSV WITH HEADERS FROM "file:///b.csv" AS B the location is given as "file:/Users/allenlu/Documents/Neo4j/default.graphdb3/import/b.csv" I'm not sure how to get rid of the import, or how to use it to actually import my csv.

现在,csv文件必须位于NEO_HOME / import中,并且您的file:// URL必须相对于此文件夹。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM