Windows安装Neo4j

1. 前往官方网站下载neo4j的社区版压缩包。shell

2. 解压下载下来的压缩包。bash

3. 导航到你的解压文件夹下的bin目录,尝试启动neo4j,会报没有服务的错误,以下:测试

C:\Users\..\Desktop\neo4j-community-3.4.9\bin>neo4j start
Service start failed - service 'neo4j' not found

4. 安装neo4j服务:网站

C:\Users\..\Desktop\neo4j-community-3.4.9\bin>neo4j.bat install-service
Neo4j service installed

5. 启动neo4jcode

C:\Users\Ley\Desktop\neo4j-community-3.4.9\bin>neo4j.bat start
Neo4j service started

6. 用Cypher链接neo4j,默认用户名和密码都是为neo4jget

C:\Users\..\Desktop\neo4j-community-3.4.9\bin>cypher-shell.bat
username: neo4j
password: *****
Connected to Neo4j 3.4.9 at bolt://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j>

7. 退出neo4jit

neo4j> :exit

Bye!

至此,window版的neo4j安装测试完成。建议将neo4j的目录加入系统环境变量中,方便使用。社区

相关文章
相关标签/搜索