Talk:MongoDB

From ArchWiki

mongo authentication failed. mongo status is active

/etc $ mongo 127.0.0.1 --username root --password root123 --authenticationDatabase admin
MongoDB shell version v5.0.3
connecting to: mongodb://127.0.0.1:27017/test?authSource=admin&compressors=disabled&gssapiServiceName=mongodb
Error: Authentication failed. :
connect@src/mongo/shell/mongo.js:372:17
@(connect):2:6
exception: connect failed
exiting with code 1

—This unsigned comment is by Kennedyk (talk) 12:29, 11 December 2021 (UTC). Please sign your posts with ~~~~!