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
2
votes
2 answers

Multiple insert into mongodb - only the first collection gets updated

I am trying to update my collections in my mongodb instance hosted on mlab. I am running the following code: ... db.collectionOne.insert(someArrayOfJson) db.collectionTwo.insert(someArrayOfJson) The first collection gets updated and the second…
user7138697
2
votes
1 answer

AJAX > MongoDB query only works five times, then server stops handling requests, and I can't refresh the page

I am building a React / Express / MongoDB app. I am trying to make a live search that returns results as you type. The DB call on the server only works five times, and then stops. Then I can't refresh the browser, so I think the server at that point…
nth-chile
  • 616
  • 1
  • 7
  • 20
2
votes
1 answer

How to deploy my rest api on heroku or amazon web services?

I am a total newb when comes to server side programming. I have created and rest api on local machine using NodeJS Express Mongoose MongDB database created in mLAB. So, can any body please provide me any document, guideline tutorial - I have tried…
Sandeep Chikhale
  • 1,505
  • 2
  • 21
  • 36
2
votes
1 answer

Mongoose Not Working on Firebase (Express Api) Hosting

I Connected my mongoose to MongoDb database and this database hosted by mLab. try { mongoose.connect('mLab Hosting Url', { useNewUrlParser: true }) } catch (e) { console.error('An Error Occurred When Trying Connect To MongoDb.', e); } And…
user7023664
2
votes
0 answers

MLab with Heroku: Getting Authentication Failed despite confirming credentials

I deployed a NodeJS app to Heroku and provisioned an instance of MongoDB with MLab. Given that the password for the default database user is unclear (it never asks to set one up), I created a new user with admin privileges called mknerr. I set the…
ipenguin67
  • 1,483
  • 5
  • 22
  • 39
2
votes
1 answer

An error when connecting to mLab database with nodejs and deprecation warnings

Am still new to node and currently using node version 10.5.0 and mongoose version 5.1.7. I have carefully checked existing questions concerning mlab but none is addressing my issue. Am trying to connect to mLab here is my code: const mongoose =…
Eric O.
  • 474
  • 4
  • 23
2
votes
0 answers

Inserting JSON data to mLab database using Android application

I am new to android and mongodb. I have problem with inserting data to my mLab database using my android application. My code is this: final class MongoLabSaveData extends AsyncTask { @Override protected Boolean…
Himanshu Jain
  • 334
  • 2
  • 12
2
votes
0 answers

Password with backslash mongoose mlab

I can't seem to find a solution to this issue, I have a database on mlab I should access with a password containing a backslash \ character. I've tried using some of the suggestions in this thread, basically encoding manually the password or using…
Akheloes
  • 1,352
  • 3
  • 11
  • 28
2
votes
1 answer

Retrieve audio - binary file- stored in my Mlab

Basically, I have set an application with the MediaDevices.getUserMedia WebRTC API. I have recorded the audios and all, all is good in theory. But I got to retrieve the audio now to listen to them. I wonder now how to download audio Post in my…
Webwoman
  • 10,196
  • 12
  • 43
  • 87
2
votes
1 answer

Mongoose + Mlabs + Big amount of data

I use mongoose and react to fetch data from a mlab database. The probleme is that the mlab database have a size of 200 MB, it's a collection of more than 400 000 objects. So when i fetch i have JS error (out of memory) or the request is pending…
user1310969
  • 201
  • 3
  • 9
2
votes
0 answers

Node.js Mongodb Native Driver - Bulk write not updating/upserting all documents

I'm currently working on a project where I am trying to do some bulk writes using MongoDB's native driver on Node.js. I need to periodically update/upsert a couple hundred documents but the operation isn't updating/upserting all documents. Even in…
2
votes
1 answer

Trying to connect mLAB DB from localhost server? Authentication failed

Below is the code Snippet : var mongoose = require('mongoose'); //mongodb://localhost/db mongoose.connect('mongodb://username:pwd@ds117859.mlab.com:17859/db'); var db = mongoose.connection; Now when I connect to localhost server, it works fine and…
tester9
  • 93
  • 9
2
votes
1 answer

Updating array contents using MLAB APIs?

I have a JSON of form: { "array":[ { "node1":"value1", "node2":"value2" }, { "node1":"value1", "node2":"value2" } ] } Now I have a Front End GUI from where I…
tester9
  • 93
  • 9
2
votes
1 answer

Connect to mLab mongoDB database using nodeJS Strapi

I just got started using strapi framework and I would like to use mLab as my mongoDB database, so I go to configure strapi and fill the following details: { "defaultConnection": "default", "connections": { "default": { "connector":…
2
votes
1 answer

Can't connect my nodejs application with mLab database

I tried connecting it with mlab database but its not working, went through a lot of stackoverflow answers and tried everything but the errors are still there, please help. var express = require('express'); var mongojs = require('mongojs'); var…