I am using windows pc and my friend exported a mongodb collection form a mac into a .js(7 MB) file. When I try to import that file I get The connection was reset ” The connection to the server was reset while the page was loading. ”
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It sounds like your apache + php is the culprit. Perhaps the timeout is too short or the upload limit is too small.
Either way, I’d just use mongoimport directly. The full documentation is at http://www.mongodb.org/display/DOCS/Import+Export+Tools