我可以使用 Memgraph 平台的 mgconsole 连接到远程 Memgraph 吗?

问题描述 投票:0回答:1

我可以以某种方式使用 Memgraph 平台的一部分

mgconsole
连接到其他一些非基于 docker 的 Memgraph 实例吗?我知道我可以使用
docker run -ti --entrypoint=mgconsole memgraph/memgraph-platform
运行它,但那是针对我的 Memgraph 平台的。

memgraphdb
1个回答
0
投票

您不需要从容器内部使用

mgconsole
。 Memgraph 有一个
mgconsole
,采用 Docker 图像格式

您可以通过以下方式使用它:

docker run -it  memgraph/mgconsole:latest --host=SERVER_IP --port=BOLT_PORT

SERVER_IP
是IP地址,
BOLT_PORT
是Memgraph正在使用的Bolt端口,默认7687。

© www.soinside.com 2019 - 2024. All rights reserved.