【发布时间】:2014-09-06 02:08:15
【问题描述】:
当我从https://github.com/meteor/meteor/wiki/Oplog-Observe-Driver 运行线路时,我得到了
WARNING: The 'addUser' shell helper is DEPRECATED. Please use 'createUser' instead
2014-09-05T20:51:35.483-0400 Error: couldn't add user: "otherDBRoles" is not a valid argument to createUser at src/mongo/shell/db.js:1004
因为它是为 Mongo 2.4 创建的。有人设法让它在 Mongo 2.6.1 上运行吗? 如果没有,我需要降级到 2.4 吗?如果是,我怎样才能轻松做到?
【问题讨论】: