Learning Activity: Big Bank Database Internal Authentication - Authenticate as the globalAdminUser

I’m getting an error on step 6 of the final activity Authenticate as the globalAdminUser.

m150-bigbank:PRIMARY> mongo admin --port 27000 --username ‘globalAdminUser’ --password ‘5xd49$4%0bef#6c&b*d’
uncaught exception: SyntaxError: unexpected token: identifier :
@(shell):1:6

this prompt tells you are inside a mongo shell

and this tells that you are trying to run a terminal command, namely a new shell, inside the mongo shell.

you need to exit the mongo shell, return to the system prompt, then run the command again

1 Like