Jump to content

Neo4j: Difference between revisions

From NixOS Wiki
m copyedit, add lead section, tag with {{Expansion}}
F (talk | contribs)
updated command to something that works
 
Line 7: Line 7:
=== Setting the initial password ===
=== Setting the initial password ===


<syntaxHighlight lang="bash">
<syntaxhighlight lang="bash">
export NEO4J_CONF=/var/lib/neo4j/conf/
sudo su
neo4j-admin set-initial-password mySuperSecretPassword
export NEO4J_HOME=/var/lib/neo4j/
</syntaxHighlight>
neo4j-admin dbms set-initial-password mySuperSecretPassword
</syntaxhighlight>


Logging in using <code>cypher-shell</code> should now function.
Logging in using <code>cypher-shell</code> should now function.

Latest revision as of 17:52, 14 May 2025

☶︎
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

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.