New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB cannot login, always Authentication failed #11
Comments
Hi @ardinusawan, See also this document:
|
@ardinusawan I've found the test for |
So the solution is Right? |
Looks close. You can write that in your {
"src": "mongodb://somewhere:27017/dbname?authMechanism=SCRAM-SHA-1"
} |
Still cannot connect :( |
@ardinusawan |
Yes im using Single-node sandbox. There is another error message ( not error auth message again :D )
What wrong? |
Hmm, it seems that If not, your account might not have the privileges to create tables on MySQL. |
Yeah @cognitom , |
Finally it work. Thx |
MongoDB username and password are correct. I am using mlab.com.
If src in momyfile.json is my localhost, this code run without problem.
But, if src is another ip address (in this case i use mlab.com), I got message error
Maybe in this code auth using MONGODB-CR, not SCRAM-SHA-1?
Regards
The text was updated successfully, but these errors were encountered: