mlab Questions

4

Solved

I am trying to connect to a MongoDB database hosted on mlab using the Java driver on a servlet. import org.bson.Document; import com.mongodb.MongoClient; import com.mongodb.MongoClientURI; import...
Snakemouth asked 8/2, 2017 at 19:30

14

Solved

I try to deploy my Mongo database in Mongolabs, everything works fine, and I create a new database. Please see my connectionstring. public DbHelper() { MongoClientSettings settings = new Mongo...
Ebon asked 9/7, 2015 at 10:1

4

Solved

I am trying to insert document using mongoengine in my python script but it raises this exception (<class 'pymongo.errors.InvalidName'>, InvalidName("database names cannot contain the charac...
Glaucous asked 2/1, 2018 at 10:54

4

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 i...
Inviolable asked 18/1, 2016 at 21:43

30

Solved

I'm using: Python 3.4.2 PyMongo 3.0.2 mongolab running mongod 2.6.9 uWSGI 2.0.10 CherryPy 3.7.0 nginx 1.6.2 uWSGI start params: --socket 127.0.0.1:8081 --daemonize --enable-threads --threads 2...
Anthropocentric asked 24/6, 2015 at 15:11

8

Solved

So I'm working my way though the Getting Mean book from Manning and following the steps in Chapter 5 I'm trying to use a db on Mongolab as an add-on to Heroku. When I run this code (both locally an...
Minnesinger asked 23/8, 2016 at 19:11

6

Solved

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....
Hieratic asked 26/10, 2020 at 22:38

4

Solved

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...
Morphia asked 4/1, 2016 at 14:31

7

Solved

I'm inserting raw JSON into a collection and finding that what is stored in the database is missing the values. For example, my collection is a collection of BsonDocuments: _products = database.Ge...
Parliament asked 10/4, 2013 at 20:23

2

Solved

I have used aggregate function. db.checkins.aggregate([ {$match: {checkinType: "Beacon", "associationIds.organizationId":"af39bc69-1938-4149", "checkinData.time": {"$gte": new Date("2018-01-18T...
Street asked 21/1, 2018 at 17:6

1

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.j...
Guillemot asked 23/5, 2017 at 20:18

5

Solved

Is MongoDB capable of funding number of random documents without making multiple queries? e.g. I implemented on the JS side after loading all the document in the collection, which is wasteful - he...
Research asked 17/7, 2014 at 14:46

6

Okay, so I've been on this problem for hours now with no idea how to solve this, since I'm just a newbie. I was following a UDEMY course titled WEBDEVBOOTCAMP by Colt Steele. On the deploymen...
Spicebush asked 8/8, 2017 at 7:32

4

Solved

I have a field of phone numbers where a random variety of separators have been used, such as: 932-555-1515 951.555.1255 (952) 555-1414 I would like to go through each field that already exists a...
Cereal asked 22/10, 2012 at 5:11

3

Solved

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 rec...
Foresaid asked 12/7, 2020 at 12:35

6

I have database hosted on MLab and I am trying to connect it with Compass. I am using host and port given in connection string but it is showing error, here is my screenshot: What am I doing wrong...
Kelbee asked 14/9, 2018 at 20:57

3

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 t...
Sluff asked 27/4, 2019 at 7:48

1

Connects without a hitch, but on insert() throws me this error. var MongoClient = require('mongodb').MongoClient; const assert = require('assert'); var url = 'mongodb://____:[email protected]...
Shaeffer asked 21/12, 2017 at 1:52

2

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:11...
Provencher asked 23/1, 2019 at 21:31

3

Solved

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...
Dagnah asked 24/3, 2016 at 12:31

9

Solved

I have a Parse app, and I'm trying to migrate my app's database to a MongoDB instance on mLab. I already have a fork of Parse Server set up on Heroku, and I'm using Heroku's mLab MongoDB add-on. ...
Nolanolan asked 18/3, 2016 at 10:49

4

Solved

We are facing a timeout issue with our mongo updates. Our collection currently contains around 300 thousand documents. When we try to update a record via the UI, the server times out and the UI is ...
Nephew asked 25/2, 2019 at 19:49

3

Solved

Hi i'm trying to make a simple connection mongoose.connect('mongodb://JFalcon:[email protected]:19476/hidonshabat', {useMongoClient: true}, function(err){ if(err) { console.log('Some probl...
Hemicycle asked 23/11, 2017 at 12:43

10

I have recently created an account in mongoLab.When I am trying to connect to the database using the below statement. var mongoose = require('mongoose'); mongoose.connect('mongodb://mk:[email&#160...
Numerator asked 18/6, 2015 at 20:8

0

I have this collection in mongodb. my collection: { "_id": "5ad2079019551a2108588add", "brand_name": "MAZOLA LIZA" "name":"pyd" } { "_id": "5ad2079019551a2108588adf", "brand_name": "MAZca...
Childlike asked 15/4, 2018 at 15:57

© 2022 - 2024 — McMap. All rights reserved.