Nosql-neo4j- 社区版如何新建一个数据库

2022-09-11  本文已影响0人  Viterbi

社区版如何新建一个数据库其不删除原来的数据库

Since you’re using Neo 3.x, to create a new database without removing your existing one, you can simply edit the neo4j.conf file in your conf directory of your $NEO4J_HOME.

Search for dbms.active_database=, which should have the default value of graph.db. Replace it with some other name and start neo4j again. Now, a new database will be created under that directory name. To switch back to your previous db, repeat the steps, just replace your new value with graph.db in the configuration file.

切换到$NEO4J_HOME/data/databases, 你会发现新建了一个文件夹,即你新建的数据库

本文使用 文章同步助手 同步

上一篇 下一篇

猜你喜欢

热点阅读