Difficulties connecting Atlas cluster through the mongo shell on Windows 10

I get this frustrating error any time I try to run the command in my command prompt to connect to the class Atlas cluster through my Mongo shell:
" [js] SyntaxError: missing ; before statement @(shell):1:6"
Someone should please help me!

Let’s see a screenshot. You’re probably already connected.

Update: I had to set my environment variable on windows 10 with the path to my mongoDB bin directory in program files, this allowed me to put the command in my command prompt without getting the error “mongo is not recognised as an internal or external command…”. It worked after this was set!

2 Likes

:slightly_smiling_face: :+1: