Configuration parameters are defined in the neo4j.conf file.
The following configuration parameters are applicable for managing databases:
Name of the default database for the Neo4j instance. The database is created if it does not exist when the instance starts.
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 mode of all databases.
If this setting is set to
List of database names for which to prevent write queries.
This set can contain also not yet existing databases, but not the
List of database names for which to accept write queries.
This set can contain also not yet existing databases.
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.