Talk:MongoDB
Latest comment: 24 September 2023 by Siavoshkc in topic mongo or mongosh
== 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 ~~~~!
- Asking for personal help is not allowed. Please refer to talk page guidelines for details.
- --Siavoshkc (talk) 05:00, 24 September 2023 (UTC)
mongo or mongosh
Yesterday I installed mongodb 7.0.1-2 AUR and it had mongo included not mongosh. Running mongo prints "MongoDB shell version v7.0.1". Main article points that mongo should be avoided in favor of mongosh. So why the AUR package provides the fromer? --Siavoshkc (talk) 05:06, 24 September 2023 (UTC)
Socket Ownership Transfer
When installing mongodb-binAUR, ownership of /tmp/mongodb-27017.sock
had to be manually transferred. Is it common enough to warrant being noted on in MongoDB#Troubleshooting?