MongoDB is a document-oriented (document-oriented) database, not a relational database. Document-oriented databases do not have a "line" concept compared to a relational database, instead of a "document" model
① in the official website (http://www.mongodb.org/downloads) to download MongoDB, and then install (path is the C-Drive MongoDB folder)
automatically generate a bin file in the ②mongodb folder folder, setting environment variables: " computer --Properties--Advanced system settings-environment variables---edit variable path (variable value)--npm followed by ; C:\mongoDB\bin "
③ new Data folder inside the MongoDB file, new DB folder inside the Data folder
④ boot server, win+r, input cmd, CD into folder, input:mongod--dbpath c:\mongodb\data\db
Start the database, start the server, and then enter "localhost+ port number" on the browser side
MongoDB installation and start-up