Load CSV Fails in Cypher + Neo4j “LoadExternalResourceException: Couldn't load the external resource at:”

前端 未结 2 771
梦谈多话
梦谈多话 2021-01-15 05:08

I have a fresh install of Neo4j 2.1.4 open source on a corporate cloud server running Ubuntu 14.04. I am importing a CSV file into the database. The path to my file is \'/ho

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-15 05:41

    A co-worker helped me debug this.

    The problem was a permission. In Linux, neo4j has its own user 'neo4j'. That user did not have permissions to access the data at /home/myuser/data-neo4j/node.csv

    We moved the data to a folder where the neo4j user has permissions and adjusted the path in the query.

    For future reference, the log for Neo4j can provide additional info, an in Linux, is found at /var/log/neo4j

提交回复
热议问题