Connection to mongo

I can not connect to mongoDB. It says authentication failed. What should I do?

Command failing from Shell or Compass? and to which cluster
What command you used?
May be issue with your userid/password
Make sure no spaces or junk characters while cut & paste id/pwd

1 Like