View all accounts
> use admin
> db.auth('admin','123456')
1
> db.system.users.find().pretty()
View current account at the library
> use admin
> show users
Reproduced in: https: //www.jianshu.com/p/4690101f6d13
> use admin
> db.auth('admin','123456')
1
> db.system.users.find().pretty()
> use admin
> show users
Reproduced in: https: //www.jianshu.com/p/4690101f6d13