mongodb查看用户信息
作者:互联网
本文为joshua317原创文章,转载请注明:转载自joshua317博客 https://www.joshua317.com/article/263
mongo
> use admin;
> db.auth("josua317","password");
#查看全局所有账户
> db.system.users.find().pretty()
#查看当前库下的账户
> show users
本文为joshua317原创文章,转载请注明:转载自joshua317博客 https://www.joshua317.com/article/263
标签:www,users,查看,joshua317,mongodb,db,用户,263,https 来源: https://www.cnblogs.com/joshua317/p/16459245.html