启动neo4j.bat console报错
方法一、删除databases下面的文件,重新启动即可(删除不了,就命令行输入neo4j.stop)
方法二、管理员身份打开cmd neo4j.stop 重启
方法三、
2021-03-09 11:50:31.450+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@52d6d273' was successfully initialized, but failed to start. Please see the attached cause exception "Lock file has been locked by another process: D:\Program Files\Neo4j\neo4j-community-4.0.4\data\databases\store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@52d6d273' was successfully initialized, but failed to start. Please see the attached cause exception "Lock file has been locked by another process: D:\Program Files\Neo4j\neo4j-community-4.0.4\data\databases\store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)".
neo4j stop,然后删除store_lock,重启