2017-08-07 197 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.*"