Neo4j 3.1.0 apoc.export.graphml问题 [英] Neo4j 3.1.0 apoc.export.graphml issue
问题描述
我正在尝试通过Neo4j 3.1 + 3.1.0.3中的apoc.export.graphml过程将我的数据库导出为graphml文件:
I am trying to export my db as a graphml file via the apoc.export.graphml procedure in Neo4j 3.1 + 3.1.0.3:
call apoc.export.graphml.all("test",{})
我收到此错误消息:
无法调用过程
apoc.export.graphml.all
:原因: java.lang.RuntimeException:从文件导入未启用,请设置 neo4j.conf中的apoc.import.file.enabled = true
Failed to invoke procedure
apoc.export.graphml.all
: Caused by: java.lang.RuntimeException: Import from files not enabled, please set apoc.import.file.enabled=true in your neo4j.conf
我已经编辑了neo4j.conf文件以添加
I have edited my neo4j.conf file to add
apoc.import.file.enabled = true
apoc.import.file.enabled=true
在文档末尾,但是我仍然收到相同的错误消息.
at the end of the document but I'm still getting the same error message.
我在做什么错了?
感谢您的帮助.
推荐答案
我最初添加
apoc.import.file.enabled = true
apoc.import.file.enabled=true
到neo4j.conf文件和"HTTP日志记录配置"部分的末尾.
to the end of the neo4j.conf file and "HTTP logging configuration" section.
我将注释移至服务器配置"部分,现在可以使用.
I moved the comment to the "Server configuration" section and now it works.
这篇关于Neo4j 3.1.0 apoc.export.graphml问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!