命令CALL dbms.procedures()
显示标准的25 dbms程序,无法查看APOC程序。对这些程序的任何调用都会输出一个错误,指出它找不到它并检查拼写等等。
Neo4j社区3.2.5
在apoc-3.2.3.5-all.jar
文件夹中添加了/plugins
个文件,如下面的开始提示中所列:
Active database: cnaf_v1_20171218.db
Directories in use:
home: /data/neo4j/neo4j-community-3.2.5
config: /data/neo4j/neo4j-community-3.2.5/conf
logs: /data/neo4j/neo4j-community-3.2.5/logs
plugins: /data/neo4j/neo4j-community-3.2.5/plugins
import: /data/neo4j/neo4j-community-3.2.5/import
data: /data/neo4j/neo4j-community-3.2.5/data
certificates: /data/neo4j/neo4j-community-3.2.5/certificates
run: /data/neo4j/neo4j-community-3.2.5/run
Starting Neo4j.
Started neo4j (pid 44178). It is available at ... There may be a short delay until the server is ready.
See /data/neo4j/neo4j-community-3.2.5/logs/neo4j.log for current status.
相关的conf/neo4j.conf
文件设置:
# The name of the database to mount
dbms.active_database=cnaf_v1_20171218.db
# Paths of directories in the installation.
dbms.directories.plugins=plugins
# added these based on other stack overflow APOC-based posts
dbms.security.procedures.unrestricted=apoc.*
apoc.export.file.enabled=true
其他:
$ ls -al plugins/
total 7104
drwxr-xr-x 2 neo4j neo4j 34 Jan 17 14:04 .
drwxr-xr-x 11 neo4j neo4j 4096 Jan 17 15:22 ..
-rwxrwxrwx 1 neo4j neo4j 7270364 Jan 17 14:06 apoc-3.2.3.5-all.jar