neo4j LOAD CSV returns Couldn't Load external resource - neo4j lost in directory

后端 未结 4 1867
挽巷
挽巷 2020-12-11 06:30

Since I use Neo4j 3.0.1, this cypher query:

USING PERIODIC COMMIT 500  
 LOAD CSV WITH HEADERS  
 FROM >\"file:///home/user/Documents/links.csv\" AS csvLi         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-11 07:17

    From the configuration file 'neo4j.conf':

    # This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or uncomment it to
    # allow files to be loaded from anywhere in filesystem; this introduces possible security problems. See the `LOAD CSV`
    # section of the manual for details.
    #dbms.directories.import=import
    

提交回复
热议问题