当前位置: 动力学知识库 > 问答 > 编程问答 >

How to explore databases created by an embedded-Neo4j Java application and stored outside the /data directory?

问题描述:

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?

网友答案:

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

网友答案:

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 .

分享给朋友:
您可能感兴趣的文章:
随机阅读: