Neo4j

Updated on December 10th, 2022

The Analytics Service requires Neo4j for its database: from Analytics 1.2.1.2 onwards, either Neo4j 3.5 with Java 8 will be required (as was for Analytics 1.1.1.7), or Neo4j 4.3/4.4 (new) with Java 11 (Neo4j 4.4 (new) is recommended with Java 11 as the latest stable version).

The Metadata Central Teragator from 2.0.4 requires Neo4j 4.3/4.4 (new) with Java 11 for its database. 

These two services cannot share the database, and therefore should be installed on separate servers.

On busy systems, especially where supporting Analytics, Neo4J can be memory hungry. For that reason, Neo4j provides a tool for the memory heap size recommendation. This can be run prior to a new deployment going live or to tune an existing Neo4j deployment. Care should be taken to make sure that sufficient memory remains for any additional processes/services deployed onto the same server. Please see here how to use neo4j-admin memrec and where to set the results.

Download Neo4j Zip
Download a Community version zip file from Neo4j's website.Neo4J Versions: The required versions are different for Analytics and MDC Teragator, see below.
Analytics requires: 
Neo4J 3.5.11 or 3.5 updates or Neo4J 4.3.5 or 4.4 updates, recommended 4.4 latest stable

MDC Teragator requires: 
Neo4J 4.3.5 or 4.3 or 4.4 updates, recommended 4.4 latest stable

If Updating Neo4J See Neo4J Upgrade.
Update from 3.5 to 4.3/4.4 uses Neo4J defined migration process.

Extract zip file

Extract the downloaded "neo4j-community-x.x.x-windows.zip" to "C:\".

Do not extract these files under Program Files.


Install Service using Command Line

Enter the following command lines, replacing the parts in bold:

cd C:\neo4j-community-X.X.X\bin\

.\neo4j install-service --verbose


Edit conf file

Browse to "C:\neo4j-community-x.x.x-windows\conf" and open "neo4j.conf" in a text editor.

Search for the following line and remove the preceding "#":

#dbms.security.auth_enabled=false

dbms.security.auth_enabled=false

Start Service

Was this article helpful?