mongodbHow to install MongoDB on Windows?
-
Download the MongoDB Windows Server 2008 R2 64-bit and later, MSI Installer from the MongoDB Download Center.
-
Run the downloaded
.msi
file to start the installation wizard. -
Follow the instructions in the wizard to complete the installation.
-
After the installation is complete, open the Command Prompt and run the following command to start the MongoDB server:
mongod
- To verify that the MongoDB server is running, open another Command Prompt window and run the following command:
mongo
You should see the following output:
MongoDB shell version v4.2.3
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("f9f9f9f9-f9f9-f9f9-f9f9-f9f9f9f9f9f9") }
MongoDB server version: 4.2.3
Related
More of Mongodb
- How to use watch in MongoDB?
- How to check the version of MongoDB?
- How to work with time series data in MongoDB?
- How to update many documents in MongoDB?
- How to update an array element in MongoDB?
- How to use triggers in MongoDB?
- How to use unwind in MongoDB?
- How to list MongoDB users?
- How to remove a field from MongoDB?
- How to use MongoDB queue?
See more codes...