# \#cypher-shell

**URL:** https://community.neo4j.com/tag/cypher-shell/40.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Where is \<neo4j-home\>?](https://community.neo4j.com/t/where-is-neo4j-home/6488)

<div class="topic-metadata">

**Author:** [@mattreister](https://community.neo4j.com/u/mattreister)\
**Replies:** 9\
**Last updated:** [September 20, 2025, 5:25pm UTC](https://community.neo4j.com/t/where-is-neo4j-home/6488 "2025-09-20T17:25:54Z")

</div>

I am trying to locate where tools such as neo4j-admin,cypher-shell and the documentation keeps saying these tools are located in the the bin directory. So i try to locate this directory on my machine and the best documen…

---

## [Confusing Neo4J CLIs: \`neo4j\` vs \`neo4j-admin\` vs \`cypher-shell\`](https://community.neo4j.com/t/confusing-neo4j-clis-neo4j-vs-neo4j-admin-vs-cypher-shell/73158)

<div class="topic-metadata">

**Author:** [@funcoolgeek](https://community.neo4j.com/u/funcoolgeek)\
**Replies:** 1\
**Last updated:** [March 24, 2025, 11:12am UTC](https://community.neo4j.com/t/confusing-neo4j-clis-neo4j-vs-neo4j-admin-vs-cypher-shell/73158 "2025-03-24T11:12:28Z")

</div>

Why are there are so many CLIs installed on my system? What are their differences and use cases? Which one should I use for what purpose, especially for the following use cases? (1) Connect to remote DB (2) List DBs (…

---

## [Cannot use Java for cypher-shell. Would Amazon Corretto do?](https://community.neo4j.com/t/cannot-use-java-for-cypher-shell-would-amazon-corretto-do/64912)

<div class="topic-metadata">

**Author:** [@joseph.nalluri](https://community.neo4j.com/u/joseph.nalluri)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 4:03pm UTC](https://community.neo4j.com/t/cannot-use-java-for-cypher-shell-would-amazon-corretto-do/64912 "2023-11-09T16:03:42Z")

</div>

Neo4j Desktop version: 1.5.8 I have Neo4j Desktop downloaded and that works fine. I want to write a cypher script to perform ETL from CSV files. But when I execute cypher-shell.bat I get the following error: dbmss\\dbms…

---

## [How to solve cypher-shell "Connection Refused" error](https://community.neo4j.com/t/how-to-solve-cypher-shell-connection-refused-error/63253)

<div class="topic-metadata">

**Author:** [@Sar](https://community.neo4j.com/u/Sar)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 12:23am UTC](https://community.neo4j.com/t/how-to-solve-cypher-shell-connection-refused-error/63253 "2023-07-24T00:23:14Z")

</div>

Hello, I am running Neo4J Browser online via a server and now I need to use cypher-shell but the connection gets refused. I tried the things suggested here (which is for the older neo4j-shell so may be not relevant): …

---

## [Unable to Restart DB using cypher-shell due routing table/DB unavailability](https://community.neo4j.com/t/unable-to-restart-db-using-cypher-shell-due-routing-table-db-unavailability/58379)

<div class="topic-metadata">

**Author:** [@dg\_22](https://community.neo4j.com/u/dg_22)\
**Replies:** 2\
**Last updated:** [January 16, 2023, 9:01pm UTC](https://community.neo4j.com/t/unable-to-restart-db-using-cypher-shell-due-routing-table-db-unavailability/58379 "2023-01-16T21:01:21Z")

</div>

Hi, I have a neo4j DB running on a Amazon EC2 instance I was attempting to take dump file of it. I SSH into the instance running the DB and used cypher-shell to shut down the DB in order to take the dump file using the f…

---

## [Install neo4j on Centos7](https://community.neo4j.com/t/install-neo4j-on-centos7/58806)

<div class="topic-metadata">

**Author:** [@davidcyber](https://community.neo4j.com/u/davidcyber)\
**Replies:** 1\
**Last updated:** [December 22, 2022, 7:34pm UTC](https://community.neo4j.com/t/install-neo4j-on-centos7/58806 "2022-12-22T19:34:33Z")

</div>

I'm trying to install community version of neo4j server. My server is running Centos7 \>\> hostnamectl Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-1160.80.1.el7.x86…

---

## [Start/stop DBMS from cypher-shell? (Community Edition 4.4.3 on Mac)](https://community.neo4j.com/t/start-stop-dbms-from-cypher-shell-community-edition-4-4-3-on-mac/54983)

<div class="topic-metadata">

**Author:** [@roger\_worden](https://community.neo4j.com/u/roger_worden)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 8:42pm UTC](https://community.neo4j.com/t/start-stop-dbms-from-cypher-shell-community-edition-4-4-3-on-mac/54983 "2022-04-18T20:42:30Z")

</div>

I thought I might script a shutdown-dump-startup sequence to back up my local working DB daily or so. It seems that neo4j-admin isn't fully supported on CE, but cypher-shell seems to have some commands that should help. …

---

## [Idle cypher-shell process in redhat linux using high cpu](https://community.neo4j.com/t/idle-cypher-shell-process-in-redhat-linux-using-high-cpu/51731)

<div class="topic-metadata">

**Author:** [@rubensselvakumar](https://community.neo4j.com/u/rubensselvakumar)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 9:13am UTC](https://community.neo4j.com/t/idle-cypher-shell-process-in-redhat-linux-using-high-cpu/51731 "2022-02-14T09:13:12Z")

</div>

Hi, We are experiencing high cpu usage when the cypher-shell process initiated by users are not closed properly because of unix session timeout, please can you help fixing this. Is there a way we can set idle session t…

---

## [Troubleshooting Connection Issues to Neo4j](https://community.neo4j.com/t/troubleshooting-connection-issues-to-neo4j/129)

<div class="topic-metadata">

**Author:** [@david\_allen](https://community.neo4j.com/u/david_allen)\
**Replies:** 46\
**Last updated:** [February 10, 2022, 8:56am UTC](https://community.neo4j.com/t/troubleshooting-connection-issues-to-neo4j/129 "2022-02-10T08:56:05Z")

</div>

Troubleshooting Connection Issues to Neo4j (including Browser, Cypher Shell, and Driver Applications) This post describes common issues users may encounter in connecting Neo4j Browser or cypher-shell to a Neo4j database,…

---

## [Creation of a script in neo4j](https://community.neo4j.com/t/creation-of-a-script-in-neo4j/47947)

<div class="topic-metadata">

**Author:** [@Mastege](https://community.neo4j.com/u/Mastege)\
**Replies:** 1\
**Last updated:** [November 25, 2021, 10:28am UTC](https://community.neo4j.com/t/creation-of-a-script-in-neo4j/47947 "2021-11-25T10:28:25Z")

</div>

Hello, Not working alone on one of my neo4j projects, I was wondering if it was possible to create a script so that my colleagues could run it without having to copy everything (This script mainly consists of creating …

---

## [Why can't text be selected by keyboard in Window Terminal?](https://community.neo4j.com/t/why-cant-text-be-selected-by-keyboard-in-window-terminal/46514)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.neo4j.com/u/Ooker)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 12:44pm UTC](https://community.neo4j.com/t/why-cant-text-be-selected-by-keyboard-in-window-terminal/46514 "2021-10-27T12:44:20Z")

</div>

For example, in pwsh I can select the text with keyboard, and copy by pressing Enter: But in Windows Terminal, I cannot do that. I need to select by mouse, and copy the text by right clicking it. Do you know why is t…

---

## [Cypher-shell certificates](https://community.neo4j.com/t/cypher-shell-certificates/14687)

<div class="topic-metadata">

**Author:** [@mike\_blum\_neo4j](https://community.neo4j.com/u/mike_blum_neo4j)\
**Replies:** 7\
**Last updated:** [August 20, 2021, 9:49pm UTC](https://community.neo4j.com/t/cypher-shell-certificates/14687 "2021-08-20T21:49:04Z")

</div>

With Bolt configured like this cypher-shell with Neo4j 4.0 seems to not like the self-signed certificates anymore: ./bin/cypher-shell --database system -u neo4j -p $secret --encryption true --debug org.neo4j.driver.exce…

---

## [Backup and restore in Neo4j causal cluster (Azure vm)](https://community.neo4j.com/t/backup-and-restore-in-neo4j-causal-cluster-azure-vm/37863)

<div class="topic-metadata">

**Author:** [@reeyarani17](https://community.neo4j.com/u/reeyarani17)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 6:40am UTC](https://community.neo4j.com/t/backup-and-restore-in-neo4j-causal-cluster-azure-vm/37863 "2021-05-07T06:40:34Z")

</div>

i am using azure vm neo4j enterprise edition and have created causal cluster of 3 nodes. I am accessing it through command prompt by the provided credentials(linux server). i am trying to take backup. and followed all …

---

## [Unable to use created neo4j database](https://community.neo4j.com/t/unable-to-use-created-neo4j-database/27333)

<div class="topic-metadata">

**Author:** [@sharwan](https://community.neo4j.com/u/sharwan)\
**Replies:** 6\
**Last updated:** [October 17, 2020, 6:36pm UTC](https://community.neo4j.com/t/unable-to-use-created-neo4j-database/27333 "2020-10-17T18:36:53Z")

</div>

I had created a database, which was working perfectly. But now, when i try to use the database created by me, using following command: :USE foo; it gives error: Unable to get a routing table for database 'foo' becaus…

---

## [Cypher-shell works remotely but not locally](https://community.neo4j.com/t/cypher-shell-works-remotely-but-not-locally/23933)

<div class="topic-metadata">

**Author:** [@yyakovson613](https://community.neo4j.com/u/yyakovson613)\
**Replies:** 5\
**Last updated:** [August 24, 2020, 1:55pm UTC](https://community.neo4j.com/t/cypher-shell-works-remotely-but-not-locally/23933 "2020-08-24T13:55:07Z")

</div>

I'm running 4.1 enterprise using the latest EC2 AMI (ami-0afe90add2767a91c). When I ssh in, I'm unable to connect using cypher-shell locally: $ cypher-shell -u neo4j -p ----------- Unable to connect to localhost:7687…

---

## [Clear screen in cypher shell](https://community.neo4j.com/t/clear-screen-in-cypher-shell/23970)

<div class="topic-metadata">

**Author:** [@codeinode](https://community.neo4j.com/u/codeinode)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 9:30am UTC](https://community.neo4j.com/t/clear-screen-in-cypher-shell/23970 "2020-08-24T09:30:53Z")

</div>

I am new to cypher-shell and haven't completely familiarized myself with how it works. How would I go about to clear the cypher screen? I am using windows and 'cls' or 'clear' and it isn't working(unrecognized commands). …

---

## [How to Read Cypher-shell Query Results](https://community.neo4j.com/t/how-to-read-cypher-shell-query-results/19632)

<div class="topic-metadata">

**Author:** [@GalihWiseso](https://community.neo4j.com/u/GalihWiseso)\
**Replies:** 5\
**Last updated:** [June 9, 2020, 1:46am UTC](https://community.neo4j.com/t/how-to-read-cypher-shell-query-results/19632 "2020-06-09T01:46:17Z")

</div>

Hello, I have a question about query results time on cypher-shell. I'm still new on Neo4j and little bit confused on how to read the result time. From the picture above it says that "10000 rows available after 44 ms,…

---

## [Admin Course: Failed changing the neo4j password (non-Debian)](https://community.neo4j.com/t/admin-course-failed-changing-the-neo4j-password-non-debian/17619)

<div class="topic-metadata">

**Author:** [@Grace\_chew](https://community.neo4j.com/u/Grace_chew)\
**Replies:** 0\
**Last updated:** [April 26, 2020, 12:13am UTC](https://community.neo4j.com/t/admin-course-failed-changing-the-neo4j-password-non-debian/17619 "2020-04-26T00:13:28Z")

</div>

Hi all, I'm following the guide below and try to reset the password. Although the return message said the password is changed. But i still cannot login, is there anything i missed? Guide link: https://neo4j.com/graph…

---

## [READ\_REPLICA Failed to obtain connection towards WRITE server](https://community.neo4j.com/t/read-replica-failed-to-obtain-connection-towards-write-server/16787)

<div class="topic-metadata">

**Author:** [@exide](https://community.neo4j.com/u/exide)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 7:51pm UTC](https://community.neo4j.com/t/read-replica-failed-to-obtain-connection-towards-write-server/16787 "2020-04-07T19:51:09Z")

</div>

I setup Neo4j 4.0.1 enterprise in a causal cluster with the following nodes: neo4j-01 (CORE) neo4j-02 (CORE) neo4j-03 (CORE) neo4j-04 (READ\_REPLICA) The config for each host is the same with dbms.mode being the obviou…

---

## [Cypher-Shell - how to run testquery.cypher in background](https://community.neo4j.com/t/cypher-shell-how-to-run-testquery-cypher-in-background/16496)

<div class="topic-metadata">

**Author:** [@Kailash](https://community.neo4j.com/u/Kailash)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 6:49pm UTC](https://community.neo4j.com/t/cypher-shell-how-to-run-testquery-cypher-in-background/16496 "2020-03-31T18:49:44Z")

</div>

I have a simple question on cypher-shell as i didnt find much of documentation on this. What i am running is some command to load data from csv from cypher shell SNO,EmailId,FirstName,EmailId,LastName,HiringDate; 1,10…

---

## [Cypher parameters in CLI cypher-script](https://community.neo4j.com/t/cypher-parameters-in-cli-cypher-script/9545)

<div class="topic-metadata">

**Author:** [@tony.chiboucas](https://community.neo4j.com/u/tony.chiboucas)\
**Replies:** 9\
**Last updated:** [February 11, 2020, 7:38pm UTC](https://community.neo4j.com/t/cypher-parameters-in-cli-cypher-script/9545 "2020-02-11T19:38:00Z")

</div>

Neo4j 3.5.8 Neo4j and Cypher documentation everywhere for how to use parameters, and how they improve query performance. However, I've only found three well defined methods of passing parameters into a cypher query: N…

---

## [Newbie Question . - How to find database user ID](https://community.neo4j.com/t/newbie-question-how-to-find-database-user-id/13577)

<div class="topic-metadata">

**Author:** [@atosh](https://community.neo4j.com/u/atosh)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 2:18pm UTC](https://community.neo4j.com/t/newbie-question-how-to-find-database-user-id/13577 "2020-01-13T14:18:05Z")

</div>

Hi - I am trying to log in to an active database from Terminal . I run bin/cypher-shell . it asks me a user ID .. where do I find my active database user ID ? Thx Ashutosh

---

## [Newbie question: unexpected cypher-shell memory/heap usage](https://community.neo4j.com/t/newbie-question-unexpected-cypher-shell-memory-heap-usage/3803)

<div class="topic-metadata">

**Author:** [@alec.muffett](https://community.neo4j.com/u/alec.muffett)\
**Replies:** 5\
**Last updated:** [June 4, 2019, 3:48pm UTC](https://community.neo4j.com/t/newbie-question-unexpected-cypher-shell-memory-heap-usage/3803 "2019-06-04T15:48:58Z")

</div>

I have a reasonably large AWS Ubuntu instance with 60+Gb of RAM. I have configured CE with: dbms.memory.heap.initial\_size=20g dbms.memory.heap.max\_size=20g dbms.memory.pagecache.size=20g I am running a complex/large q…

---

## [How do I produce a profile/explain through cypher-shell and pipeing query file](https://community.neo4j.com/t/how-do-i-produce-a-profile-explain-through-cypher-shell-and-pipeing-query-file/280)

<div class="topic-metadata">

**Author:** [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Replies:** 3\
**Last updated:** [March 23, 2019, 5:28pm UTC](https://community.neo4j.com/t/how-do-i-produce-a-profile-explain-through-cypher-shell-and-pipeing-query-file/280 "2019-03-23T17:28:21Z")

</div>

If yor prepare a file with a Cypher statement that includes either a profile or explain clause and then want to pipe that file to bin/cypher-shell, to produce the profile/explain output you must include --format verbos…

---

## [How to load data into the cypher-shell](https://community.neo4j.com/t/how-to-load-data-into-the-cypher-shell/3949)

<div class="topic-metadata">

**Author:** [@paolodipietro58](https://community.neo4j.com/u/paolodipietro58)\
**Replies:** 3\
**Last updated:** [December 19, 2018, 7:11pm UTC](https://community.neo4j.com/t/how-to-load-data-into-the-cypher-shell/3949 "2018-12-19T19:11:36Z")

</div>

I have an Ubuntu server dedicated to neo4j, without a GUI (it is my choice, to avoid unuseful CPU usage for other tasks but Neo4j). I tried to use the cypher shell, but was impossible, because after having loaded it, I …

---

## [How do I authenticate with cypher-shell without specifying the username and password on the command line](https://community.neo4j.com/t/how-do-i-authenticate-with-cypher-shell-without-specifying-the-username-and-password-on-the-command-line/263)

<div class="topic-metadata">

**Author:** [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Replies:** 1\
**Last updated:** [December 2, 2018, 6:58pm UTC](https://community.neo4j.com/t/how-do-i-authenticate-with-cypher-shell-without-specifying-the-username-and-password-on-the-command-line/263 "2018-12-02T18:58:22Z")

</div>

When using $NEO4J\_HOME/bin/cypher-shell at the command line and authentication is enabled via the setting $NEO4J\_HOME/conf/neo4j.conf: # Whether requests to Neo4j are authenticated. # To disable authentication, uncommen…
