nsasocialmedia.blogg.se

Steps to install mongodb on windows 10 64 bit
Steps to install mongodb on windows 10 64 bit




So run the mongo.exe file in the bin folder in a cmd window.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongo.exe We want to test whether our MongoDB server is running or not and perform some database operations. Now MongoDB server runs on the default port: 27017 Navigate to the /bin folder in the cmd window and execute the mongod.exe file.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongod.exe Let's run the MongoDB server by executing the following command from the cmd window. Note if you do not create such directory then you will get below error in the console output: exception in initAndListen: NonExistentPath: Data directory :\data\db\ not found., terminating






Steps to install mongodb on windows 10 64 bit