Cannot connect to clusters or run any queries from Mongo cmd tool

Hi there,

Please assist me with this issue. When I try to connect to the cluster that I created in Atlas, I get the following error message in the cmd line tool of MongoDB:

image

Also, when I try to run simple commands like mongo --version, I get the same errors.

Please assist.

Many thanks

Hey @Imke_46378

This is because you are already connected to the mongo shell. If you look at the first like in the screenshot you have you will see what I mean.

Plus you can tell by the command prompt saying

MongoDB Enterprise >

1 Like