Stage 5 3. Micro Services [online] _day01 learn to build a CMS server development environment _15-MongoDb Getting Started - Users

Before we link to the database, and did not enter the account number and password. That's because we have to start certification and it


is usually created in the database admin user. So here then use admin
db: Displays the current database is good which is confirmed admin








Open Certification


Execution mongo.exe prompted again then, show dbs suggesting no authority






delete users

The database is created in the admin can grant access to other databases

Test1 create a user

queries the user list

to delete user test1

Modify User




The super administrator role can read and write into the database of



user roles view the modified

change Password






Guess you like

Origin www.cnblogs.com/wangjunwei/p/11535762.html