当 Meteor 正在运行时,如何从另一个客户端访问 Meteor 的 MongoDB? [英] How do I access Meteor's MongoDB from another client, while Meteor is running?

查看:22
本文介绍了当 Meteor 正在运行时,如何从另一个客户端访问 Meteor 的 MongoDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 Python 客户端访问 Meteor 的 MongoDB,当 Meteor 正在运行时.

I would like to access Meteor's MongoDB from a Python client, while Meteor is running.

我无法启动 mongod,因为 Meteor 的数据库被锁定.

I can't start a mongod because Meteor's database is locked.

如何从另一个客户端访问数据库?

How do I access the database from another client?

推荐答案

使用 Meteor 部署说明

命令如下所示:

   PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp node bundle/main.js

这篇关于当 Meteor 正在运行时,如何从另一个客户端访问 Meteor 的 MongoDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆