I am trying to launch a Mongodb instance as follows and running into error as below, how do I debug this?please provide guidance on how to fix this error
mongo automation --host machine40.scv.company.com -u admin -p passd
2018-05-15T21:11:30.346-0700 I ACCESS [conn3] SCRAM-SHA-1 authentication failed for admin on automation from client 17.xxx.xxx.x:54756 ; UserNotFound: Could not find user admin@automation
--authenticationDatabase automation
or wherever you actually created the user. You're really "supposed to" create the user in theadmin
database, but you've created it in a different database so you need to specify which database that is. – Neil Lunn