Cypher Neo4j Couldn't load the external resource

前端 未结 15 1718
谎友^
谎友^ 2021-02-07 05:09

In a Windows environment, I\'m trying to load a .csv file with statement:

LOAD CSV WITH HEADERS FROM \"file:///E:/Neo4j/customers.csv\" AS row

15条回答
  •  执笔经年
    2021-02-07 05:33

    In the Neo4j desktop select the database you are using, go to the setting and there you will find the solution... just comment the "dbms.directories.import=import" line

    # This setting constrains all LOAD CSV import files to be under the import directory. Remove or comment it out to

    # allow files to be loaded from anywhere in the filesystem; this introduces possible security problems. See the

    # LOAD CSV section of the manual for details.

    dbms.directories.import=import ### COMMENT THIS LINE

提交回复
热议问题