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
14
votes
3 answers

how to solve this transaction error in mlab? [MongoError: Transaction numbers are ... support document-level locking]

I'm trying to do a simple transaction using mongoose. It worked totally fine on MongoDB Atlas, but in mlab I got such an error: MongoError: Transaction numbers are only allowed on storage engines that support document-level locking. I did some…
DeSpider
  • 323
  • 2
  • 16
14
votes
4 answers

Auth failed, code 18 when connecting to MongoLab database

I'm trying to connect to a MongoLab database but keep getting the following error on connection: { [MongoError: auth failed] name: 'MongoError', ok: 0, errmsg: 'auth failed', code: 18 } The code I'm using to connect is: var mongoose =…
Jori
  • 222
  • 1
  • 2
  • 10
13
votes
3 answers

MongoDB - Command failed with error code 13 `not authorized by ***** to execute this command`

So for some odd reason, my user isn't get authorized to write anything in the krimson database. The database connection is successfully but the access to grant the user to write into the database isn't working as expected. Full Error Caused by:…
Crypt Junior
  • 311
  • 1
  • 2
  • 8
12
votes
3 answers

How does Mongolab REST API authenticate

The REST API for Mongolab is cool. I can use that for analytics in my website directly using the following javascript, provided on Mongolab's support page. Only if I can understand how the authentication actually works. The API key mentioned in the…
brayne
  • 1,355
  • 2
  • 16
  • 27
11
votes
6 answers

Robomongo: Cannot connect to replica set. Set's primary is unreachable

I'm migrating mLab from Heroku to MongoDB Atlas. As one of steps I want to check if there is a connectivity to newly created cluster. I'm used Robo3T (formerly Robomongo) for Heroku mLab instances. But it doesn't work with Atlas. I'm getting…
wowkin2
  • 5,895
  • 5
  • 23
  • 66
11
votes
3 answers

MongoDB hosting options now that Heroku mLab add-on is being removed

I have a service I'm hosting on Heroku right now, and I'm using the mLab add-on to ensure that the deployed version is able to write to the database etc. What can I do now? I'm confused since I received this email: The mLab team has chosen to…
Karan Bhasin
  • 237
  • 3
  • 13
11
votes
2 answers

MongoParseError: Unescaped at-sign in authority section at parseConnectionString

I am trying to connect my nodejs application to mongoDB Using mlab but I am getting error which is not understandable for me. let mongoose=require('mongoose'); const server='ds366482.mlab.com:11275'; const database='customer_db' const…
Gaurav Kumar
  • 349
  • 1
  • 2
  • 13
11
votes
1 answer

Mongoose/MongoDB in Node.JS stops returning records after a while

I have a script running which finds data in a database I have. For some reason after a short period of time, it stops finding any data but does not output any errors to the screen or through node.js. Here is the following setup I have for mongoose.…
Jamie Smith
  • 111
  • 2
11
votes
1 answer

Why do the power spectral density estimates from matplotlib.mlab.psd and scipy.signal.welch differ when the number of points per window is even?

matplotlib.mlab.psd(...) and scipy.signal.welch(...) both implement Welch's average periodogram method to estimate the power spectral density (PSD) of a signal. Assuming equivalent parameters are passed to each function, the returned PSD should be…
11
votes
2 answers

Recurring rails error on Heroku/Unicorn - 'execution expired', an ActionView::Template::Error

My question is similar to the following, but is happening under slightly different circumstances. Rails: execution expired on time_zone_select My setup is: Rails 3.2.13 Unicorn 4.6.2 Mongoid 3.0.22 Moped 1.4.2 Running on Heroku Cedar. MongoDB is…
nlh
  • 1,055
  • 1
  • 10
  • 15
11
votes
2 answers

Creating a collection schema in a mongolab mongodb database from node.js

I'm new to node.js and mongodb. I'm trying to create a schema for a User collection in a mongolab mongodb database from a node.js app with the code below. The code does not seem to be failing (at least, I get no error messages), but I don't see any…
RBR
  • 999
  • 3
  • 13
  • 24
10
votes
1 answer

"Not authorized on ___ to execute command" with mLab + MongoDB ^3.0

Connects without a hitch, but on insert() throws me this error. var MongoClient = require('mongodb').MongoClient; const assert = require('assert'); var url = 'mongodb://____:____@ds125565.mlab.com:25565/heroku_w268n9pj'; MongoClient.connect(url,…
user61871
  • 929
  • 7
  • 13
10
votes
2 answers

How would someone connect their MLAB mongodb database to robomongo when MLAB only provides string URI's

I have been a mongochef user for a while, and setting up URI connections with mongochef is super easy. However this is not the case with robomongo. How would someone connect their MLAB mongodb database to robobongo when MLAB uses string URI's to…
alilland
  • 2,039
  • 1
  • 21
  • 42
10
votes
4 answers

Can't Connect to Mlab

I have a very simple Mlab account and I'm trying to connect via command line with this command: mongo server_name.mlab.com:port/inventory -u -p but I keep running into this problem: 2016-05-26T15:41:18.195+0200 Error: 18 {…
xupv5
  • 239
  • 1
  • 2
  • 9
10
votes
3 answers

MongoLab/PyMongo connection error

If I run in the shell: mongo ds0219xx.mlab.com:219xx/dbname -u user -p pass It works and allows me to connect to the database and pull information. But if I'm within my python application (Flask) and run this: import pymongo client =…
Derek Schuster
  • 523
  • 1
  • 6
  • 14
1
2
3
56 57