cp -f data/*.csv ${NEO4J_IMPORT}/
cd "${NEO4J_HOME}"
time bin/cypher-shell < $tmp_dir/create_graph.cypher
But received the following error message:
cp: /person.csv: Read-only file system
The client is unauthorized due to authentication failure.
I installed the Desktop version and already commented out this line: #dbms.security.auth_enabled=true
In the browser I can connect and query without an issue. The authentification error comes as I use the script to create the graph. Maybe should I somewhere in the creation script include the username/password? But I already commented out the security_auth line.
What do you mean by root level? Does that cause this error message? I am creating the database on my local machine, so that root level doesn't matter. My command looks like:
cp: /person.csv: Read-only file system. This is where it occurs when I copy my data files to ${NEO4J_IMPORT} directory. Where is the NEO4J_IMPORT located? It's automatically created? Maybe i need to change the file system access permission on that. $NEO4J_IMPORT is created silently by Neo4j?