Questions tagged [mlab]

MongoLab (Rebranded as mLab) is a fully-managed MongoDB Database-as-a-Service (DBaaS) platform that automates the operational aspects of running MongoDB in the cloud.

MongoLab is a fully-managed cloud database service featuring highly-available MongoDB databases, automated backups, web-based tools, 24/7 monitoring, and expert support. By hosting MongoDB on MongoLab’s Database-as-a-Service (DBaaS) platform, developers and IT professionals are free to focus their attention on product development instead of operations.

MongoLab runs on all the major cloud platforms, including Amazon, Joyent, Rackspace and Windows Azure, and has partnered with all of the major Platform-as-a-Service (PaaS) providers to enable seamless integration with the application tier.

Headquartered in San Francisco, MongoLab is backed by premier venture and angel investors including Foundry Group, Baseline Ventures, GRP Partners, Freestyle Capital, and David Cohen of TechStars.

Learn more at https://mlab.com/

852 questions
4
votes
1 answer

MongoDB: cannot perform bulk operation

I am trying to play with bulk operations in MongoDB but keep getting the following error: TypeError: db.items.initializeUnorderedBulkOp is not a function (shell):1 ... when executing this line in shell: var bulk =…
Eugene Loy
  • 12,224
  • 8
  • 53
  • 79
4
votes
1 answer

Scaling MongoDB on OpenShift vs using MongoLab

Coming from a "traditional" development background, I cringe whenever I see PaaS NoSQL offerings. The idea of hosting your data far from your application simply does not feel right. But PaaS providers like MongoLab are here and are seemingly very…
Ellery Familia
  • 530
  • 5
  • 20
4
votes
1 answer

How do I update the mongodb binaries in my nitrous.io box to the 2.4.x versions?

I am taking the "mongodb for node.js" course and trying to import/restore data to my mongolab instance but I keep getting Auth err code 18 errors. I can connect to any instance I create using the mongo --shell from the nitrous.io box and it works…
EX0TUS
  • 43
  • 3
4
votes
1 answer

MongoDB - Java Driver performance

This is my environments. Java - 1.7 by Oracle mongod v2.4.5 (in Mongolab) I found difference in performance of the two MongoDB driver(2.9.3 vs 2.11.2) When I run same code using each driver, 2.11.2 slower than 2.9.3. for(int i=0; i<1000; i++){ …
DaegiKim
  • 45
  • 7
4
votes
1 answer

Can't authorize to newly created MongoLabs DB

I am trying to start with MongoLab. Using the mongo shell it seems I cannot auth to any DB I create, even with a brand new account and DB. I created the MongoLab user with the same username and password as my DB user, so I'm sure there are no…
Dagrada
  • 1,135
  • 12
  • 22
4
votes
1 answer

how do I create web service through mongolab rest api for basic database operation using curl in php?

I am new to mongodb and mongolab. Any one can tell me how to access mongolab database through curl in php,not through ajax. I want to create api like LOGIN, RESET_PASSWORD, RESIGTRATION. How do I create above web service. I have reffered…
4
votes
1 answer

node.js and mongodb - Error: failed to connect to [ds057900.mongolab.com:57900]

I have an app on Heroku and Mongolab. I use node.js and mongoose. Heroku often logs that my memory consumption is over their limit and part of it is swapped to hard-drive. From time to time I have disconnected from my Mongolab database, so my entire…
Rafał Sobota
  • 1,468
  • 1
  • 17
  • 32
4
votes
3 answers

Handling MongoDB disconnect/reconnects from Node

When my MongoDB connection is idle for a few minutes, the next request ends in error. From the mongo command line client, it looks like this: > db.users.find() Sat Jan 12 23:42:35 Socket recv() errno:54 Connection reset by peer…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
4
votes
1 answer

Adding a new model field to MongoLab the AngularJS way

I have a MongoDB document (on MongoLab.com) called client and this is going to be used to track a fitness competition. Each week there will be a "weigh-in" and some other details tracked. What I'm stuck on is how to add a subdocument to the client…
Kirk
  • 16,182
  • 20
  • 80
  • 112
3
votes
5 answers

How can I use the mongolab add-on to Heroku from python?

The documentation only talks about how to do it from ruby.
Jameson Quinn
  • 1,060
  • 15
  • 21
3
votes
1 answer

Export high quality images in Mayavi

I'm trying to export images using mayavi scripts from mayavi import mlab # data to be exported in image mlab.savefig('output.png') But the exported image is blurry. I have read from Mayavi docs and searched from Google about this problem but I'm…
Erric
  • 123
  • 1
  • 10
3
votes
5 answers

strapi start: "url is not defined" - using mlab mongo DB

When I run 'strapi start' I get the following output in my terminal: debug ⛔️ Server wasn't able to start properly. Error URL is not defined Any solutions? I have recreated my mlab DB 3 times and when I enter all the values in the terminal to…
dramadom
  • 41
  • 2
3
votes
2 answers

Heroku application crash

Application Error in Heroku , with status H10 , desc = "app crashed" , No error in logs , Application running Locally but after deploying and building successfully , App is Crashing. Methods I had tried to run it :- including procfile including…
3
votes
2 answers

URL malformed, cannot be parsed

Here is my error captured: and here are my coding files: server file keys file I just create connection to mlab using mongodb, node and reactjs. I'm using mongo db version 4. need your help guys. [nodemon] starting `node server.js` Error: URL…
3
votes
1 answer

Trouble with mongorestore (don't know what to do with subdirectory)

I use this cmd to restore mongodb to remote db on mLab $ ./mongorestore -h ds*****.mlab.com:**** -u -p -d loc8r but I got this error 2018-05-01T20:22:18.463+0700 using default 'dump' directory 2018-05-01T20:22:18.463+0700 …
Huy Nguyen
  • 520
  • 2
  • 7
  • 20