在开启用户验证的情况下,如何登录mongodb用户 Posted on 2019, Feb 12 by mannuan One min read 1、以test用户和数据库admin为例: use admin db.auth("test","test") # 两个test分别是用户名和密码