Jump to content

Neo4j: Difference between revisions

From Official NixOS Wiki
imported>MrVanDalo
Created page with "= Neo4J = == How to set initial password == <pre>export NEO4J_CONF=/var/lib/neo4j/conf/ neo4j-admin set-initial-password secret</pre> Now you should be able to login using <..."
 
SZanko (talk | contribs)
m Add example config for local development
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Neo4J =
{{Expansion}}


== How to set initial password ==
[https://neo4j.com/ Neo4j] is a graph database implemented in [[Java]].


<pre>export NEO4J_CONF=/var/lib/neo4j/conf/
== NixOS ==
neo4j-admin set-initial-password secret</pre>
 
Now you should be able to login using <code>cypher-shell</code>
=== Example configuration for local development with out SSL certs ===
<syntaxhighlight lang="nixos" line="1">services.neo4j= {
  enable = true;
  bolt = {
    tlsLevel = "DISABLED";
  };
  https = {
    enable = false;
  };
};</syntaxhighlight>
 
=== Setting the initial password ===
 
<syntaxhighlight lang="bash">
sudo su
export NEO4J_HOME=/var/lib/neo4j/
neo4j-admin dbms set-initial-password mySuperSecretPassword
</syntaxhighlight>
 
Logging in using <code>cypher-shell</code> should now function.

Latest revision as of 13:22, 3 March 2026

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

Neo4j is a graph database implemented in Java.

NixOS

Example configuration for local development with out SSL certs

services.neo4j= {
  enable = true;
  bolt = {
    tlsLevel = "DISABLED";
  };
  https = {
    enable = false;
  };
};

Setting the initial password

sudo su 
export NEO4J_HOME=/var/lib/neo4j/
neo4j-admin dbms set-initial-password mySuperSecretPassword

Logging in using cypher-shell should now function.