Start/Stop the database
Test Neo4j access
Containerized Neo4j
Upon the initial install, the database will be in a stopped state.
On a side note, if you ended up using the "Neo4j Desktop" program (NOT covered in this guide) with a local database, it's quite convenient to use that program to stop/start the database. (But beware,
as mentioned in the install guide, about being on the correct version of the Neo4j database!)
Otherwise, do the following:
sudo neo4j start
sudo neo4j stop
sudo neo4j status
more /var/log/neo4j/neo4j.log
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
D:\neo4j\bin\neo4j console
D:\neo4j\bin\neo4j install-service
services at the Windows search, you can start the "Services" app, and you'll find a Windows service named
"Neo4j Graph Database - neo4j". You can right-click on it to start/stop it. Or, MORE SIMPLY, just use the PowerShell:
D:\neo4j\bin\neo4j start
D:\neo4j\bin\neo4j stop
D:\neo4j\bin\neo4j status
cat D:\neo4j\logs\neo4j.log
Did the installation go well? You can test it by means of the "Neo4j Browser Interface" (a web app that comes with Neo4j),
by opening a browser tab and going to either
localhost:7474 or http://YOUR_IP_ADDDRESS:7474
Note that it's http , not https
If the page doesn't load up, and if not on localhost, did you remember to open up the needed ports (see section on Neo4j ports) and did you change the config file? (see section Neo4j Database Configuration)
Log in as follows:
Note that two separate port numbers are involved: 7474 (for the web app that comes with Neo4j), and 7687 (to transfer data from/to the database.)
Common mistake: forgetting to change the "Connect URL" pulldown menu to "bolt://"
If it's your first login, you'll be asked to change your password.
If you also installed the APOC library earlier (optional, but highly recommended), to verify that its installation worked, issue the following command inside the neo4j browser app:RETURN apoc.version()
We have used, but don't currently support, Docker to provide a containerized version of the Neo4j database.
In a not-to-distant future, we expect to support this modality as a handy way to have multiple instances of Neo4j running on a virtual machine or desktop, to provide
independent databases, or master/slave configurations, or perhaps even some sharding support.