且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MongoDB正在运行,但无法使用Shell连接

更新时间:2023-01-18 08:03:59

我认为此版本的mongoDb客户端缺少一些默认配置.尝试运行:

I think there is some default config what is missing in this version of mongoDb client. Try to run:

mongo 127.0.0.1:27017

这很奇怪,但是后来我感觉到问题消失了:)(所以简单的命令"mongo"没有任何参数对我又开始起作用了)

It's strange, but then I've experienced the issue went away :) (so the simple command 'mongo' w/o any params started to work again for me)

[Ubuntu Linux 11.10 x64 / MongoDB 2.0.1]