Non-relational databases have developed rapidly a few years ago and have never been engaged in class development before. Therefore, they have started learning non-relational databases. As I chose mongodb for development, I will share my learning experience. 1. Download www. mongodb. orgdownloads from mongodb.
Non-relational databases have developed rapidly a few years ago and have never been engaged in class development before. Therefore, they have started learning non-relational databases. Because of the need for development I chose mongodb to learn, Below share my learning experience 1. mongodb database download http://www.mongodb.org/downloads this is,
Non-relational databases have developed rapidly a few years ago, and have never been engaged in similar development before. Therefore, they have started learning non-relational databases. As I chose mongodb for development, I will share my learning experience below.
1. Download mongodb Database
Http://www.mongodb.org/downloads
Yes, but no one can afford the download speed. We recommend that you do not download it from the official website.
2. How to start or stop mongodb
It is troublesome to start mongodb, because the program will not create a data/db directory for us, windows will not be so linux will not, we can manually create this directory, the directory location is not limited. As shown below:
Now we can start the database. I specify the database file directory at the same time at the startup. You only need to enter the bin directory to execute the command. The command is as follows: <喎?http: www.2cto.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + fingerprint + cgo8cd7g9lavs8m5prxevefd5sjnz8kjuw.vcd4kpha + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140329/2014032909112525.jpg" alt = "\">
Another simple method is to configure mongodb in path first, as shown below:
After creating a new txtin writing mongod.exe -- dbpath = D: \ grailsenv \ mongodb-win32-i386-2.4.9 \ data \ db, after the file suffix changed to bat after double-click to start mongodb
If you want to stop mongodb, you can simply close the window or use the ctrl + c command.
3. Connect to mongodb using mongovue as the client
This tool seems to be used by a lot of people, but it is a pity that the software is charged, you can go to the Internet to find information to crack, this tool is easy to use, you will find it
If there is also a cmd.exe in the binary directory, you can also use this command.