问题
In the Neo4j web administration tool (http://127.0.0.1:7474/webadmin/), I can only explore nodes and relationships created through this interface.
However, it doesn't show databases created by my Java applications which use embedded Neo4j and store databases outside the /data directory. How can I explore these databases?
回答1:
The Webadmin talked to the neo4j server instance. You can configure it using config/neo4j-server.properties
, see http://docs.neo4j.org/chunked/snapshot/server-configuration.html
回答2:
This question has got the right answer already but I ran into a silly problems so I'm posting this as a heads-up for other beginners.
An obvious thing to check is if you import the same version of Neo4j packages in your java code as the server you want to start. Opening a db created with a newer neo4j than the server may cause problems.
In console.log I was getting
"Setting startup timeout to: 120000ms based on -1 Detected incorrectly shut down database, performing recovery.."
and I could only debug the issue from data/graph.db/messages.log .
来源:https://stackoverflow.com/questions/14057897/how-to-explore-databases-created-by-an-embedded-neo4j-java-application-and-store