Neo4J Load CSV -> URI is not hierarchical

前端 未结 10 1961
无人共我
无人共我 2021-02-20 10:39

I try to import CSV in a Neo4j Database and I have a problem.

On my desktop computer (windows 7, java 1.8.0_40-b25), the LOAD CSV works great. But on the server (window

10条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-20 11:11

    Create an import folder in the default path of the DB and place the file there that helped me.

    For example: C:\Users\XXXXY\Documents\Neo4j\default.graphdb\import and put the csv there. In the query use USING PERIODIC COMMIT LOAD CSV WITH HEADERS FROM "file:///customers.csv" AS row CREATE (:Customer {companyName: row.CompanyName, customerID: row.CustomerID, fax: row.Fax, phone: row.Phone});

提交回复
热议问题