mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
cypher-shell: add page (#13001)
* cypher-shell: add page --------- Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
parent
559d34590b
commit
785eb9290b
1 changed files with 33 additions and 0 deletions
33
pages/common/cypher-shell.md
Normal file
33
pages/common/cypher-shell.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# cypher-shell
|
||||
|
||||
> Open an interactive session and run Cypher queries against a Neo4j instance.
|
||||
> See also: `neo4j-admin`, `mysql`.
|
||||
> More information: <https://neo4j.com/docs/operations-manual/current/tools/cypher-shell/>.
|
||||
|
||||
- Connect to a local instance on the default port (`neo4j://localhost:7687`):
|
||||
|
||||
`cypher-shell`
|
||||
|
||||
- Connect to a remote instance:
|
||||
|
||||
`cypher-shell --address neo4j://{{host}}:{{port}}`
|
||||
|
||||
- Connect and supply security credentials:
|
||||
|
||||
`cypher-shell --username {{username}} --password {{password}}`
|
||||
|
||||
- Connect to a specific database:
|
||||
|
||||
`cypher-shell --database {{database_name}}`
|
||||
|
||||
- Execute Cypher statements in a file and close:
|
||||
|
||||
`cypher-shell --file {{path/to/file.cypher}}`
|
||||
|
||||
- Enable logging to a file:
|
||||
|
||||
`cypher-shell --log {{path/to/file.log}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`cypher-shell --help`
|
Loading…
Add table
Reference in a new issue