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.
本文介绍了如何通过在MongoDB2.6.6中创建用户并将2.6.6的数据库文件用作MongoDB3.0.1的数据库文件来解决远程连接和认证问题。此方法仅适用于MMapv1引擎。

被折叠的 条评论
为什么被折叠?



