mongo -u mongo_admin -p --authenticationDatabase admin
db.auth("mongo_admin")
Last updated 4 years ago
Was this helpful?