本文为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