stock-knowledge-graph icon indicating copy to clipboard operation
stock-knowledge-graph copied to clipboard

.csv文件导入neo4j

Open perfect-11 opened this issue 5 years ago • 1 comments
trafficstars

卡在了任务五,输入shell命令,一直在报错,求大神指导 unrecognized option: ''

usage: neo4j-admin import [--mode=csv] [--database=] [--additional-config=] [--report-file=] [--nodes[:Label1:Label2]=<"file1,file2,...">] [--relationships[:RELATIONSHIP_TYPE]=<"file1,file2,...">] [--id-type=<STRING|INTEGER|ACTUAL>] [--input-encoding=] [--ignore-extra-columns[=<true|false>]] [--ignore-duplicate-nodes[=<true|false>]] [--ignore-missing-nodes[=<true|false>]] [--multiline-fields[=<true|false>]] [--delimiter=] [--array-delimiter=] [--quote=] [--max-memory=] [--f=<File containing all arguments to this import>] [--high-io=<true/false>] usage: neo4j-admin import --mode=database [--database=] [--additional-config=] [--from=]

environment variables: NEO4J_CONF Path to directory which contains neo4j.conf. NEO4J_DEBUG Set to anything to enable debug output. NEO4J_HOME Neo4j home directory. HEAP_SIZE Set JVM maximum heap size during command execution. Takes a number and a unit, for example 512m.

Import a collection of CSV files with --mode=csv (default), or a database from a pre-3.0 installation with --mode=database.

perfect-11 avatar Mar 07 '20 09:03 perfect-11

同问,没能找到解决方法。

llgithubll avatar Mar 22 '20 12:03 llgithubll