For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Friday, October 16, 2015

mongoDB on windows 7

Problem:


While installing mongoDB on windows 7 you will get the same message as below:

I CONTROL  Hotfix KB2731284 or later update is not installed, will zero-out data files
I STORAGE  [initandlisten] exception in initAndListen: Data directory C:\data\db\ not found., terminating
I CONTROL  [initandlisten] dbexit:  rc: 100Solution:


Solution:

you needed o create "data\db" folder under "C:\mongodb\bin" and run mongod.exe file then after it will automatically create "C:\data\db\"
Share:

0 comments:

Post a Comment

Add Dependent Scripts

   here is the code that allow to add dependent script :         <script>         const addDependentScripts = async function( scriptsT...

Ads Inside Post

Powered by Blogger.

Arsip