Neo4j安装
目录
1. 下载地址
http://doc.we-yun.com:1008/neo4j
2. 主流版本对应:
java 8 neo4j 3.5
java11 neo4j 4.XX
3. 不要放到C盘目录下,可能由于权限不足无法启动成功,报错如下:
ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@57c758ac' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\neo4j-community-3.5.0\logs\debug.log (鎷掔粷璁块棶銆?". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@57c758ac' was successfully initialized, but failed to start. Please see the attached cause exception "C:\Program Files\neo4j-community-3.5.0\logs\debug.log (鎷掔粷璁块棶銆?".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@57c758ac' was successfully initialized, but failed to start. Please see the attached cause exception
4. 在windows下下载社区版后直接解压到指定目录,进入该目录下的 **\bin** 启动如下:
PS D:\Program Files\neo4j-community-3.5.0\bin> .\neo4j.bat console
2021-03-18 14:20:57.576+0000 INFO ======== Neo4j 3.5.0 ========
2021-03-18 14:20:57.584+0000 INFO Starting...
2021-03-18 14:20:59.863+0000 INFO Bolt enabled on 127.0.0.1:7687.
2021-03-18 14:21:00.920+0000 INFO Started.
2021-03-18 14:21:01.589+0000 INFO Remote interface available at http://localhost:7474/
5. 打开网址:
http://localhost:7474/
,进入登录页面
默认用户名:neo4j
密码:neo4j
修改新密码为`admin`
进入首页:
使用时连接uri为:`bolt://localhost:7687`