Configuration parameters
Configuration parameters are defined in the neo4j.conf file.
The following configuration parameters are applicable for managing databases:
Parameter name | Description | ||||
---|---|---|---|---|---|
Name of the default database for the Neo4j instance. The database is created if it does not exist when the instance starts. Default value:
|
|||||
Maximum number of databases that can be used in a Neo4j single instance or cluster. The number includes all the online and offline databases. The value is an integer with a minimum value of 2. Enterprise Edition Default value:
|
|||||
Default mode of all databases.
If this setting is set to Default value: |
|||||
List of database names for which to prevent write queries.
This set can contain also not yet existing databases, but not the
Example configuration:
|
|||||
List of database names for which to accept write queries.
This set can contain also not yet existing databases.
Example configuration:
|
Although it is possible to achieve the same goal, i.e. set a database to read-only, both by using the Cypher command Using configuration parameters is more subtle and allows you to configure access on each instance separately, in case of a cluster for example.
If you use If both the Cypher command and the configuration parameters are used and they contain conflicting information, the database in question is set to read-only. |