美文网首页
MongoDB Installation on Windows

MongoDB Installation on Windows

作者: Jacaranda2016 | 来源:发表于2018-07-12 09:11 被阅读1次

    3 Steps

    There are three steps in installing MongoDB on Windows 8. 

    First : download 

    Download MongoDB from its official website (https://www.mongodb.com/download-center#community). Choose the corresponding OS and version. The default version for windows is .msi. If you want to install a zip one, you can access all versions from this website (https://www.mongodb.org/dl/win32/x86_64-2008plus-ssl?_ga=2.128381128.511625352.1531276009-1048751871.1531139824)

    What are the differences between .msi and zip versions?

    Second: Create the data path

    This is a very important step. If the path is not created properly, you will got an error during installation shown as below saying "Shutting down with code: 100"

    Error Message code: 100

    Third: Installation

    1. Enter the corresponding path: mongodb\bin

    2. mongod.exe --dbpath "D:/data/db" (Replace with your own db path)

    3. Finish if you see this:

    Pitfalls:

    1. data path

    2. error message: api-ms-win-crt-runtime-l1-1-0.dll is missing.

         How to solve this problem:

          a. Download Visual C++ Redistributable for Visual Studio 2015 from https://www.microsoft.com/en-in/download/details.aspx?id=48145

    b. Follow the instructions to install it

    c. After installation, repeat the steps to install MongoDB

    相关文章

      网友评论

          本文标题:MongoDB Installation on Windows

          本文链接:https://www.haomeiwen.com/subject/ujhlpftx.html