本文为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
原创文章,作者:,如若转载,请注明出处:https://blog.ytso.com/tech/database/272423.html