无法切换neo4j数据库 [英] Unable to switch neo4j database

查看:244
本文介绍了无法切换neo4j数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是neo4j的新手,并且正在使用" neo4j-community-3.0.1 ".我想切换数据库并检索节点.在google之后,我找到了如何切换数据库.但是没有名称为

的文件

conf/neo4j-server.properties

有两个文件neo4j.conf和neo4j-wrapper.conf.但是没有这样的配置
org.neo4j.server.database.location = data/graph.db

任何人都可以帮助我如何切换数据库,并且我能够看到使用节点 浏览器

解决方案

从Neo4J 3.0开始,所有配置文件均已简化并统一为一个文件.这是" neo4j.conf ".

您需要更改此文件中的数据库路径.

如果您使用的是Linux,则可以在以下位置找到该文件

/etc/neo4j/neo4j.conf

您需要更改的实际条目将为

dbms.directories.data =/var/lib/neo4j/data

如果您将Windows客户端用于Neo4J社区.在启动数据库之前,您应该可以选择浏览到数据库目录.

引用此链接. http://neo4j.com/blog/neo4j-3- 0-大规模开发人员的生产力/

"Neo4j 3.0中的新文件,配置和日志结构旨在简化操作,并使Neo4j更好地符合IT部门的运营期望.一个显着的变化是从多个配置文件转移到单个命名空间文件."

操作手册也可能对您有用. http://neo4j.com/docs/operations-manual/current/

I am new in neo4j and i am using "neo4j-community-3.0.1" . I want to switch database and retrieve nodes .After google i found how to switch database . But there is no file with name

conf/neo4j-server.properties

There are two files neo4j.conf and neo4j-wrapper.conf . But there is not any configuration such
org.neo4j.server.database.location=data/graph.db

Can any one help me how to switch database and i am able to see node using browser

解决方案

As of Neo4J 3.0, all the configuration files have been streamlined and unified into one file. Which is "neo4j.conf".

You need to change the DB path in this file.

If you are using Linux the file can be found at

/etc/neo4j/neo4j.conf

The actual entry you need to change will be

dbms.directories.data=/var/lib/neo4j/data

If you are using the windows client for Neo4J Community. You should have an option to browse to a database directory before starting the database.

Quoting this link. http://neo4j.com/blog/neo4j-3-0-massive-scale-developer-productivity/

"The new file, config and log structures in Neo4j 3.0 are designed to streamline operations and to bring Neo4j better into line with operational IT expectations. One notable change is to move from multiple config files to a single namespaced files."

The ops manual might also be of use to you. http://neo4j.com/docs/operations-manual/current/

这篇关于无法切换neo4j数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆