简体   繁体   English

Neo4j read_only不起作用

[英]Neo4j read_only doesn't work

So... I know there's quite a few articles and stuff to read about how to set Neo4j in read-only mode. 所以...我知道有很多文章和内容可供阅读,以了解如何将Neo4j设置为只读模式。 Problem is, it doesn't seem to work for me. 问题是,它似乎对我不起作用。
I've got an existing database in Neo4j 3.0.3 (I'm not the one who put it together though, so I'm really no expert) and I need to start in a way, that only read-access is allowed. 我在Neo4j 3.0.3中有一个现有的数据库(尽管我不是将其放在一起的数据库,所以我真的不是专家),我需要以一种方式开始,只允许读取访问。
I tried changing the neo4j.conf file accordingly (some sources say to put "read_only=true", others "dbms.shell.read_only=true") but I'm still able to delete or add nodes and relations... 我尝试相应地更改neo4j.conf文件(某些资料说“ read_only = true”,其他资料说“ dbms.shell.read_only = true”),但我仍然能够删除或添加节点和关系...

This is the configuration for read only in neo4j.conf: 这是neo4j.conf中只读的配置:

# Only allow read operations from this Neo4j instance. This mode still requires
# write access to the directory for lock purposes.
dbms.read_only=true

Reference: http://neo4j.com/docs/operations-manual/current/#config_dbms.read_only 参考: http : //neo4j.com/docs/operations-manual/current/#config_dbms.read_only

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM