- Create a log folder in your data folder
- Open console with admin privileges
- Then in console type mongod –logpath c:datalogmongodb.log –install
- Now mongodb should be listed as a service
- Then in console type ‘services.msc’ and find mongodb service listed
- Right click on it and select start. Now mongodb should be running
Subscribe
0 Comments