开发者社区> 问答> 正文

连接Mongo实例时shell and server versions do not match

MongoDB shell version v3.4.5
connecting to: mongodb://101.200.159.38:3717/
MongoDB server version: 3.2.13
WARNING: shell and server versions do not match
2017-09-25T10:52:08.400+0800 E QUERY [thread1] Error: Authentication failed. :
DB.prototype._authOrThrow@src/mongo/shell/db.js:1459:20
@(auth):6:1
@(auth):1:2
exception: login failed

展开
收起
maxaspire 2017-09-25 11:31:31 12392 0
1 条回答
写回答
取消 提交回答
  • 阿里云高级技术专家

    信息都说得这么明白了,高版本的shell连了低版本的server。

    2019-07-17 21:36:49
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Shell 脚本速查手册 立即下载
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service 立即下载
SQL Server 2017 立即下载