2017-08-07 77 views
2

我是neo4j的初学者用户。我试图以.graphml格式导出一个简单的图形,以便能够在Gephi中将其可视化。尽管APOC程序似乎成功地安装,像CALL apoc.export.graphml.all("C:/path/to/folder/file.graphml",{})命令生成以下错误:neo4j apoc导入/导出不起作用。如何修改neo4j.conf文件?

apoc.export.graphml.all is not available due to having restricted access rights, check configuration*.

我试图修改neo4j.conf文件(我复制并粘贴到默认的图形数据库文件夹的conf文件夹在文档中)添加dbms.security.procedures.unrestricted=apoc,关闭并重新启动neo4j没有成功。

我使用的是Windows 10,并且我已经安装了NEO4J 3.2.1 Community Edition版本(安装程序版本)。任何帮助赞赏。

回答

2

I tried to modify the "neo4j.conf" file (which I copied and pasted into the conf folder of the default graph database folder in Documents) adding "dbms.security.procedures.unrestricted=apoc.*", shutting down and restarting neo4j with no success.

the documentationneo4j.conf文件的Windows安装正确的文件位置是%APPDATA%\Neo4j Community Edition\neo4j.conf

所以编辑上面的文件,并把它放在它的行dbms.security.procedures.unrestricted=apoc.*"