当你想在同一个Neo4J中创建多个database时,你需要看看你的版本,官网的原文解释如下:

The edition of Neo4j determines the number of possible databases:

Installations of Community Edition can have exactly one user database.

Installations of Enterprise Edition can have any number of user databases.

All installations include the system database.

社区版的只能有一个用户数据库,商业版的可以创建多个数据库。system数据库主要用来存储用户信息,是每个版本都有的。

修改默认数据库

对于社区版,默认情况下的数据库名称为neo4j,你可以通过配置进行修改,在Neo4j的安装目录下打开文件/conf/neo4j.conf,修改如下配置:

# The name of the default database.
#dbms.default_database=neo4j

创建多图数据库

使用Neo4j Desktop 创建多图数据库,使用Neo4j Desktop你可以很方便的管理Neo4j服务,通过这个可以安装商业版的neo4J服务,这样是可以创建多图数据库的。
在这里插入图片描述

Logo

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。

更多推荐