简体   繁体   English

将neo4j数据库从Windows移动到Ubuntu

[英]Moving neo4j database from Windows to Ubuntu

I created neo4j database using cypher queries through browser and some python (py2neo) routines. 我通过浏览器和一些python(py2neo)例程使用密码查询创建了neo4j数据库。

Now, I have to transfer this database to another neo4j instance on my Linux desktop. 现在,我必须将此数据库转移到Linux桌面上的另一个neo4j实例。

What I did- 我做了什么-

  1. Zip the contents of folder default.graphdb . 压缩文件夹default.graphdb的内容。
  2. Unzipped the contents of the zip file to data/graph.db in my linux installation. 在我的Linux安装中,将zip文件的内容解压缩到data / graph.db。

Also the user:pass of the database are same. 数据库的user:pass也相同。

But when I goto the browser, I can't find any of that data. 但是,当我进入浏览器时,找不到任何数据。 The directory does point to the folder that I extracted to (/home/goelakash/neo4j-community-2.3.0/data/graph.db). 该目录确实指向我提取到的文件夹(/home/goelakash/neo4j-community-2.3.0/data/graph.db)。

How do I get that database? 我如何获得该数据库?

EDIT - messages.log 编辑-messages.log

https://drive.google.com/file/d/0B3JPglmAz1b5ak1vRWR5Z0p5UVE/view?usp=sharing https://drive.google.com/file/d/0B3JPglmAz1b5ak1vRWR5Z0p5UVE/view?usp=sharing

The data files should be located directly in data/graph.db . 数据文件应直接位于data/graph.db So check eg if there is a file called neostore.nodestore.db . 因此,请检查例如是否存在一个名为neostore.nodestore.db的文件。 If so, check the permissions - the system user running Neo4j needs to have full recursive read/write permission on the graph.db folder. 如果是这样,请检查权限-运行Neo4j的系统用户需要对graph.db文件夹具有完全的递归读/写权限。 Also make sure that you're using the same version of Neo4j on Windows and Linux (or upgrade the store following the reference manual). 还要确保在Windows和Linux上使用相同版本的Neo4j(或按照参考手册升级商店)。 For more insight attach the startup sequence form data/graph.db/messages.log . 要获取更多信息,请附加启动序列表data/graph.db/messages.log

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows OS上来自python的Neo4j服务器API - Neo4j server API from python on a windows OS Neo4j可以在Linux或Windows上更好地工作吗? - Neo4j better works on Linux or windows? 从Ubuntu,Neo4j Project主机访问virtualbox客户端上的网页 - Access to a Webpage on a virtualbox client from host, both Ubuntu, Neo4j Project 从一台 ec2 机器上的一个 neo4j 数据库迁移到其他具有不同版本的 ec-2 机器上的 neo4j 数据库 - Migrating from one neo4j database in one ec2 machine to neo4j database in other ec-2 machine having different versions Magento:将文件和数据库从Windows移到linux(Ubuntu) - Magento: Moving Files and Database from windows to linux (Ubuntu) neo4j控制台失败 - neo4j console fails 如何在Ubuntu中增加Neo4j的最大文件打开限制(ulimit)? - How to increase Neo4j's maximum file open limit (ulimit) in Ubuntu? Ubuntu上的Neo4j 3.0.3:如何将.graphdb文件加载到Web界面 - Neo4j 3.0.3 on Ubuntu: How do I load a .graphdb file to the web interface 在现有 Amazon EC2 实例上安装 NEO4J 图数据库 - Install NEO4J graph database on existing Amazon EC2 instance 尝试在 neo4j 桌面上启动新图形实例时出现 Database Killed 错误 - Database Killed error while try to start new graph instance on neo4j Desktop
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM