All Categories

  • How to Setup MongoDB on Windows

    2/3/2021 -
    This blog shows how to set up MongoDB 4.4 Community version on windows 10 as a local development environment, create a simple database, table, and collection, and how to backup and store data by using mongoexport and mongoimport. Install MongoDB Server First, go to the official MongoDB installation link here to download the installation file. After the download following the installation wizard to install MongoDB.  Choose Location The default location is under windows' C drive, you can modify the location to other places. I'm using the D:\MongoDB on this blog. Choose Install MongoDB as Service If you choose to install MongoDB as a service, the installation will create a windows service so the MongoDB will be running as background. I think most of the time you should choose.
    MongoDB