bigdatahci2015 / forum

0 stars 4 forks source link

Trouble getting mongodb data #29

Open bdmckean opened 8 years ago

bdmckean commented 8 years ago

I installed mongodb without any problems but I can't download the data.
None of the suggestions I found on-line for this worked for me. (There were not many) Here is my command and the error: $mongodump --host ds041663.mongolab.com --port 41663 --username bigdatahci --password bigdatahci2015 --out /Users/brian/bmckean/week6 2015-09-30T12:38:10.109-0600 Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed.

kalharbi commented 8 years ago

@co-bri Sorry, the db name and collection name were missing in the setup instructions. Use the db and collection names defined here: https://github.com/kalharbi/book/blob/5fe381dacec13a6e4f7b011040d25d2da998435c/learning/week6/mongodb-setup.md

jraesly commented 8 years ago

I keep getting an auth failed code 18...?

kalharbi commented 8 years ago

Hi folks, There seems to be an issue with Mongolab. Perhaps because of today's maintenance/upgrade. I was able to dump the database and get the data ~3 hours ago but now I cannot. If this issue is not resolved, I will host the db somewhere and post here (by tomorrow morning).

kalharbi commented 8 years ago

Update: The authentication issue is gone now. Just make sure that you use mongodb version 3.

mongodump --version
mongodump version: 3.0.3
bdmckean commented 8 years ago

Everything is working fine now. Thanks!