MongoDB problems

MongoDB problems
0.0 0

#1

I just downloaded and installed MongoDB. But when I open the .exes they open and close giving me no time to write in them :confused: Is that the way it is?


#2

Normally the way mongodb and some other databases work is that it’s made up of a daemon that runs in the background. Therefore you’re going to have to make an interface to your database using something like mongoose with nodejs. Which then allows you to write and perform queries on the database.


#3

So it is installed correctly and there no fault from my side? (I skipped compass however)


#4

Hi

Follow this guide: [https://www.guru99.com/installation-configuration-mongodb.html] it will help you for sure


#5

Thank you so much. It was very helpful. Though I already did what was in that post, it confirmed that what I was doing was right. But I can’t seem to get the mongo --version to work. :confused:


#6

There are 2 exe files Mongo and mongod one is to Initialize the server and the other one to run it.


#7

Yeah I figured that out. But the mongo --version line does not work in command prompt.