1
votes

Hey guys I am new to MongoDB. I have successfully installed and setup environment variables, I run command mongod its start. After that I run command mongo its run but its only showing in cmd like

**C:\Program Files\MongoDB\Server\3.6\bin>mongo

MongoDB shell version v3.6.3

connecting to: mongodb://127.0.0.1:27017**

it is not getting connect only showing, connecting . Anyone here who can help me out?

3
how did you run mongod? Was it run successfully?statut
i am running command "mongod" or even tried "mongod.exe",yes it is running successfullyJagdeesh Kumar

3 Answers

2
votes
1
votes

Have you tried with ending the process from task manager. If not then try for once that may help. I was also getting this kind of issue and solved it when I ended all the running processes related to mongodb and run the command again.

0
votes

Did the prompt show again after you launch mongod ?