Cannot authenticate into mongo, “auth fails”

前端 未结 12 1259
无人及你
无人及你 2020-11-30 21:40

I\'ve created an admin user for mongo using these directions:

http://docs.mongodb.org/manual/tutorial/add-user-administrator/

From the mongo client it looks

12条回答
  •  一向
    一向 (楼主)
    2020-11-30 22:34

    Check for the mongo version of the client from where we are connecting to mongo server.

    My case, mongo server was of version Mongo4.0.0 but my client was of version 2.4.9. Update the mongo version to update mongo cli.

提交回复
热议问题