如何阻止Neo4j社区版 [英] How to stop Neo4j community edition
问题描述
我已经安装了Neo4j社区版和企业版。
问题在于,尽管在Neo4j.conf
上分配了不同的端口,但无法连接到社区版,另一个问题是当我转到Community Edition目录并写入时:Net stop neo4j,企业版下跌降落!!!我停止社区版,但企业版停止!
怎么回事?
这是与Windows服务相关的问题。
您已经使用neo4j install命令将Neo4j Enterprise作为服务安装。这个创建一个名为 neo4j
的Windows服务。
如果您对其他Neo4j服务器进行重做,则不会创建新服务。事实上,我假设没有做任何事情,因为名称 neo4j
的服务已经存在。 因此,当您调用 Net stop neo4j
,你要求windows停止服务 neo4j
,而不是停止与你在一起的服务控制台。
要启动第二台服务器,只需进入它的 bin
目录并运行这个命令 neo4j.bat start
,它应该启动你的服务器。
如果你的目标是有多个Neo4j实例用于某种开发目的,我建议你使用neo4j的桌面版。
I have installed both Neo4j Community edition and enterprise edition. The problem is that I can not connect to community edition despite assigning different port on Neo4j.conf and another problem is that when I go to the Community edition directory and write :Net stop neo4j , The enterprise edition goes down!!! I'm stopping community edition but the enterprise edition stops !!! What's wrong ??
It's a problem linked to Windows service.
You have installed Neo4j Enterprise as a service with the neo4j install command. This one creates a Windows service with the name neo4j
.
If you redo the same with an other Neo4j server, it will not create a new service. In fact I assume is doing nothing because a service with the name neo4j
already exist.
So when you call Net stop neo4j
, you are asking to windows to stop the service neo4j
, not to stop the service where you are with your console.
To start your second server, just go inside its bin
directory and run this command neo4j.bat start
, it should start your server.
If your goal is to have multiple instance of Neo4j for some development purpose, I recommend you to use the Desktop version of neo4j.
这篇关于如何阻止Neo4j社区版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!