Nonsense not much to say, direct:
1. Open Mongochef
2. The Open interface is this:
3, click Connect, the button in the red box, do not point down the triangle
4. Click the New Connection button
5.1: Please fill in the location of the dimensions:
1: Fill in a name, for example: MyDB
2: This is the IP address of the database server
3: This is the port of the database
5.2: Click the button in the Red Line box after filling it out:
6.1: Click the authentication button
6.2: Select Standard (M ...) in the Mode drop-down box after the selection is as follows:
6.3: Here your database according to the size of the permissions, different collections (tables) have their own user name and user password
Fill in the username (user name),
Fill in the password
Fill in the corresponding set (table)[In fact, MongoDB does not have a table concept, can refer to I have not started to write another article ]
7: Before saving can be tested before the link can be connected, click the Test Connection button testing
If the test passes, you can save the
8: Click Save
9: To connect to the database to view the data, you can click on the Connect pop-up box to find your saved link-mydb
、
Select this link and click Connect
10: This is all you can see is the collection (table) under the permissions of your account, the collection under the other collection (table) is all displayed as an empty collection
This is the end!
Mongochef how to link a mongodb3.x database with permissions