Compass in MongoDB 3.4 is excellent. You get a fast overview of your data's behaviour and you can easily identify a bottleneck or a slow query that could be causing performance issues, which means you can get an even faster solution for your problem. Algorithm android assembly attribute Browser c Catalog centos Client code command css data data base docker Edition Example file function golang html html5 ios java javascript linux method mongodb mysql node node.js object page parameter php Plug-in unit project python redis Route spring sql The server user vue.js. The Robo 3T (formerly Robomongo) tool has been acquired by 3T Software Labs, the creators of the MongoDB client Studio 3T (formerly MongoChef). 3T will continue development of Robo 3T in parallel with its own MongoDB GUI and the good news is that it will be making Robo 3T free for all users from now on. The next step is setting up the MongoDB environment to get started with MongoDB. You will need to add MongoDB folder path (C: Program Files MongoDB Server 3.4 bin) in your system’s environment variable (PATH variable). MongoDB also requires a data directory to store all the information. The default data directory path is C: data db.
1、 Installation To download and install the official website, you need to input the mailbox and other information. You can use the command line to install. The MAC is installed as follows
More installation methods can refer to rookie tutorial After the installation, set the environment variables to add the mongodb binary command file directory to the path Enter the following command in the terminal
Mongodb For Mac
2、 Start The default path for mongodb data storage is / data / DB(i.e. under the root directory / data / DB), but the directory does not necessarily exist on your computer and can be created manually
Mongodb Client Mac Download Software
Start directly from the command line
At this time, I found that/Data / DB is read-onlyBecause the database needs to read and write data, if you do not have root permission, the folder created under the root directory does not have write permission by default. It can be modified by the following command
If you want to bypass the permission problem, you can also not create a data folder in the root directory!!! Enter the command again
If you see it Proves that the service was started successfully.
3、 Operation After starting mongodb service, the current command panel cannot perform other operations. Open a new command panel. Enter the following command to enter the operation mode
4、 Command
Well, a brief introduction to here ~ welcome to leave a message to exchange and supplement~