Hi
I have a meteor application hosted in nodechef.
I'd like to connect to mongodb using (external) mongo shell.
$ mongo DBHOST:PORT -u DBUSER -p
MongoDB shell version v3.4.4
Enter password: MYPASSWORD
connecting to: DBHOST:PORT
MongoDB server version: 3.0.11
WARNING: shell and server versions do not match
2018-09-13T16:44:58.812-0300 E QUERY [thread1] Error: Authentication failed. :
DB.prototype._authOrThrow@src/mongo/shell/db.js:1459:20
@(auth):6:1
@(auth):1:2
exception: login failed
OR
USING the Database connection string from the dashboard - task manager - dbactions - Database Connect.
$ mongo --host mongodb://DBUSER:MYPASSWORD@DBHOST:PORT/DBNAME
bash: syntax error near unexpected token `)'
It seems that my login has failed, but I'm using the password and all information that I've read on dashboard - task manager - dbactions - Database Connect.
Any suggestion, please ?
Thanks in advance
Melissa