Skip to content

Instantly share code, notes, and snippets.

@petehughes
Created July 12, 2022 18:36
Show Gist options
  • Save petehughes/00a10fd13335b784ac13399efe8979f2 to your computer and use it in GitHub Desktop.
Save petehughes/00a10fd13335b784ac13399efe8979f2 to your computer and use it in GitHub Desktop.
connect to neo4j server
# reset connection
%cypher -r
# this will show:
# Neo4j database connection reset...
# connect to myserver using the username of neo4j and the password of password
%cypher -s myserver -u neo4j -p password
# this will show:
# Neo4j database connection established... bolt://myserver:7687
# connect to localhost (default) using the username of neo4j (default) and the password of password
%cypher -p password
# this will show:
# Neo4j database connection established... bolt://localhost:7687
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment