清空所有数据
发布于 6 年前 作者 goodwater 8591 次浏览 来自 问答

有什么办法可以清空图数据库中的所有数据(包括 索引和属性)?

2 回复

两种方法: 一、用下列 Cypher 语句: match (n) detach delete n 二、 1、停掉服务; 2、删除 graph.db 目录; 3、重启服务。

neo4j 4.0社区版没有graph.db ,我删除了neo4j目录,再次启动后,连接数据库报错Could not connect with the “neo4j://” scheme to this Neoj server. Automatic retry using the “bolt://” scheme in a moment…

回到顶部