MongDB3.0.1 Web监控的问题

来源:互联网 发布:网络营业执照 编辑:程序博客网 时间:2024/05/19 00:07

MongoDB 3.0.1的Web监控只能有在http://localhost : 28017能用,remote connection用不了。

有一种方法能使用remote connection:在mongodb 2.6.6中创建一个用户,然后把2.6.6的数据库文件用作mongoDB3.0.1的数据库文件。就是启动时--dbpath=(2.6.6的data)

这样可以用来web登陆:但只限MMapv1引擎。 mongodb3.0.3已经改了这个bug,可以remote connection 但仍然不可认证

  • If you run MongoDB 3.0 binary against the 2.6 data files, including the user authentication data files, new challenge-response users created in MongoDB 3.0 will continue to use the MONGODB-CR.

0 0
原创粉丝点击