Neo4j Desktop 是 运行,但是 `neo4j status` 仍然说服务器不是 运行?
Neo4j Desktop is running, but `neo4j status` still says that the server is not running?
据我了解,打开 Neo4j Desktop 是 equivalent to starting a server. However, when I check this with invoke-neo4j status
它说 Neo4j 不是 运行。你知道这是为什么吗?
这是详细的输出:
PS D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5\bin> invoke-neo4j status -verbose
VERBOSE: Server command specified
VERBOSE: Java detected at 'C:\Program Files\Java\jdk-11\bin\java.exe'
VERBOSE: Invoking "C:\Program Files\Java\jdk-11\bin\java.exe" -version 2>&1
VERBOSE: Command returned with exit code 0
VERBOSE: Java version response: openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
VERBOSE: Java Version detected as 11
VERBOSE: Starting neo4j utility using command line C:\Program Files\Java\jdk-11\bin\java.exe -cp
"D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5/lib/*"
-Dbasedir="D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5" org.neo4j.server.startup.Neo4jCommand
"status"
Neo4j is not running.
3
我的目标是 autostart a database 并在终端中使用 Cypher。
打开 Neo4j Desktop 并不等同于启动服务器。您只需打开一个用户界面,它需要与 运行 neo4j 数据库的活动连接。
打个比方,如果您打开车门并坐在驾驶座上,您仍然需要启动引擎才能移动。
据我了解,打开 Neo4j Desktop 是 equivalent to starting a server. However, when I check this with invoke-neo4j status
它说 Neo4j 不是 运行。你知道这是为什么吗?
这是详细的输出:
PS D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5\bin> invoke-neo4j status -verbose
VERBOSE: Server command specified
VERBOSE: Java detected at 'C:\Program Files\Java\jdk-11\bin\java.exe'
VERBOSE: Invoking "C:\Program Files\Java\jdk-11\bin\java.exe" -version 2>&1
VERBOSE: Command returned with exit code 0
VERBOSE: Java version response: openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
VERBOSE: Java Version detected as 11
VERBOSE: Starting neo4j utility using command line C:\Program Files\Java\jdk-11\bin\java.exe -cp
"D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5/lib/*"
-Dbasedir="D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5" org.neo4j.server.startup.Neo4jCommand
"status"
Neo4j is not running.
3
我的目标是 autostart a database 并在终端中使用 Cypher。
打开 Neo4j Desktop 并不等同于启动服务器。您只需打开一个用户界面,它需要与 运行 neo4j 数据库的活动连接。
打个比方,如果您打开车门并坐在驾驶座上,您仍然需要启动引擎才能移动。