0

I was having problems with getting mongo (via mongosh command) to start in gitbash.

I was able to solve it via getting mongod.exe to start in windows(10) via ControlPanel>System/security>AdministrativeTools>Services (following the answer at https://stackoverflow.com/a/56354829/5358730).

Further to that I was wondering whether there is a way to do the same via commands written in the gitbash terminal itself?

I notice there several questions on asking mongodb to start (eg How to start mongdb How to start MongoDB server? How to start using MongoDB? How to start mongodb in windows 10 How to start mongodb shell? Start mongo from Windows command file), but I dont think these address using gitbash commands to get the file to start. Apologies if I've missed anything.

Thanks.

0 Answers0