Questions tagged [cypher-shell]
36 questions
0
votes
1 answer
Authentication using Windows cmd and Cypher Shell for Neo4j
When I connect to Cypher Shell using cmd, I type this:
bin\cypher-shell -u neo4j
Immediately after, I'm prompted for a password. I enter the password and connect to Cypher Shell. Yay!
Now, if I try to connect to Cypher Shell using cmd with this…

DrVonSamuel
- 41
- 1
- 5
0
votes
1 answer
neo4j cypher shell: invalid input semicolon
I've just installed cypher-shell.
I'm trying to perform bellow command:
LOAD CSV FROM 'https://data.neo4j.com/northwind/customers.csv';
I'm getting:
Invalid input ';': expected
"!="
"%"
"*"
"+"
"-"
"."
"/"
":"
"<"
"<="
"<>"
…

Jordi
- 20,868
- 39
- 149
- 333
0
votes
0 answers
How to run cypher shell from Run dialog?
The cypher-shell.bat is located at D:\GitHub\cypher-shell\cypher-shell.bat. Neither of these commands starts the shell when I put it in the Run dialog:
pwsh D:\GitHub\cypher-shell\cypher-shell.bat: PowerShell opens and exits immediately
pwsh -wd…

Ooker
- 1,969
- 4
- 28
- 58
0
votes
1 answer
neo4j Parent child relationship of n-levels
I have Parent child relationships of say 10-11 levels like shown below and I need to create a relationship between them as parent child
data format
id,parentid
1,0
2,1
3,2
4,3
5,4
6,5
what I tried so far?
I have used the below code to relate them as…

cvk1729
- 3
- 2
0
votes
0 answers
Neo4j (cypher-shell) Create relationship too slow for existing nodes
I'm struggling to create relationships among existing nodes in Neo4j (v.4.1.1). I'm creating nodes and edges via cypher-shell and a text file containing cypher commands. First I created around 20K nodes. Cypher-shell ran without issues. But then…

hernandezurbina
- 101
- 2
- 5
0
votes
1 answer
neo4j can't see database from terminal
this might be a stupid question but I'm new to neo4j.
I'm using the desktop version and from there I created a new database from a new project. I also can see it from the browser and I can see data and stuff.
But if I go on my terminal and…

Fabio Manniti
- 105
- 7
0
votes
1 answer
Can I load in nodes and relationships from a csv file using 1 cypher command?
I have 2 csv files which I am trying to load into a Neo4j database using cypher: drivers.csv which holds every formula 1 driver and lap times.csv which stores every lap ever raced in F1.
I have managed to load in all of the nodes, although the lap…

merryroversrule
- 3
- 1
0
votes
0 answers
Neo4j WHERE causes duplicates?
I'm running Neo4j Desktop v1.4.1 the db is 4.2.1 enterprise.
I have a simple graph of placements, campaigns and a placement to campaign "contains" relationship. This is a fresh dataset, every node is unique. Some placements "contain" thousands of…

David Farrell
- 427
- 6
- 16
0
votes
0 answers
Combine MERGE in FOREACH with transaction in cypher script
I am trying to make a cypher script file for usage in cypher-shell.
Purpose
The result should be a bunch of nodes named 'Constant'. For some I just use a map as property, for others I additionally try to set a createdAt property dynamically. All…

BairDev
- 2,865
- 4
- 27
- 50
0
votes
1 answer
How connect Result nodes Neo4j
Neo4j has a tick box option 'connect results nodes' which i gather runs a second query to connect nodes after your initial query.
eg
MATCH (n:User)
where n.Verified = 'false'
return n
order by n.followers DESC
Limit 40
This query…

Delta1x
- 83
- 1
- 3
- 10
0
votes
1 answer
Printf + Cat function
I'm currently working with Neo4j.
I want to launch a cypher script via my terminal but I would like to set parameter before launching my script.
Here my statement,
>printf ':param test=>'value' \n' | cat file.cypher | cypher-shell -a bolt:server…

Gillr
- 1
0
votes
1 answer
neo4j cypher shell - memory limit exception
I am a newbie to neo4j. I have done some research before posting this question here, but couldn't find a solution that works for me. I have a ubuntu VM with 32GB RAM. I am currently using neo4j-community edition 4.0.2 and got below configurations in…

achyuthgurram
- 31
- 1
- 7
0
votes
1 answer
Automatically display the Cypher-shell output in the Neo4j browser
I'm able to run a series of queries successfully using Cypher-shell in Neo4j. For example I have put my queries inside a file called "cypher.ex1":
LOAD CSV WITH HEADERS FROM 'file:///names.csv' AS row
WITH row.Fname AS first, row.Lname AS last
MERGE…

Pablo
- 465
- 1
- 4
- 14
0
votes
1 answer
Nothing happens when using Cypher-shell for executing scripts
I'm trying to execute a series of Cypher queries using Cypher shell according to here. I have created a file called "cypher.ex1" and placed it into import and bin folder. Here is its content:
MATCH (n) RETURN n;
MATCH (batman:Person {name: 'Bruce…

Pablo
- 465
- 1
- 4
- 14
0
votes
0 answers
Not able to match string id in cypher
I loaded my dataset by csv file name moviestoactors.csv with this particular command
LOAD CSV FROM 'file:///desktop-csv-import/moviestoactors.csv' AS row
WITH row[0] AS movieId, row[1] AS actorId, row[2] AS as_character, row[3] AS leading
MERGE…

Huwaiza
- 77
- 2
- 13