neo4j导入csv文件时 报错
发布于 4 年前 作者 zeng8280 1755 次浏览 来自 问答

新人想请问下 neo4j导入csv文件报错的问题 之前导入过一次,后面想继续导入时就报错了 报错语句为

Import error: /Users/jianlinzeng/neo4j/data/databases/neo4j already contains data, cannot do import here Caused by:/Users/jianlinzeng/neo4j/data/databases/neo4j already contains data, cannot do import here java.lang.IllegalStateException: /Users/jianlinzeng/neo4j/data/databases/neo4j already contains data, cannot do import here at org.neo4j.internal.batchimport.store.BatchingNeoStores.assertDatabaseIsEmptyOrNonExistent(BatchingNeoStores.java:211) at org.neo4j.internal.batchimport.store.BatchingNeoStores.createNew(BatchingNeoStores.java:191) at org.neo4j.internal.batchimport.ParallelBatchImporter.doImport(ParallelBatchImporter.java:98) 导入语句为 bin/neo4j-admin import --nodes import/Person.csv, import/Phone.csv

求大佬执教

2 回复

用load csv多灵活

neo4j的数据库已经存在了吧,删除之前的,或者指定一个新的导入数据库的名称

回到顶部