MongoDB

MongoDB is a free and open-source document-oriented database platform which uses JSON-like documents with schemas.

0
Subscribe to MongoDB
Get notified when new articles on MongoDB are published.
    All
  • 20 Results
    Newest
    All time
    English
    • Tutorial

      How To Back Up, Restore, and Migrate a MongoDB Database on Ubuntu 20.04

      MongoDB is one of the most popular NoSQL database engines. It is famous for being scalable, powerful, reliable, and easy to use. In this article we’ll show you how to back up, restore, and migrate your MongoDB databas...
      1 day agoBy ToliUbuntuBackupsMongoDBData Analysis
    • Question

      App is unable to connect to MongoDB database when added as a trusted source.

      I have an App and a MongoDB database both hosted by DigitalOcean. When I add the app as a trusted source (tripled checked the name) my web app is unable to connect to the database. When I remove the app as a trusted s...
      1 answer13 days agoBy Tom PetersApplicationsDatabasesDigitalOceanDigitalOcean App PlatformDigitalOcean Managed MongoDB DatabaseMongoDB
    • Question

      How to setup connection to a open mongo server

      I was following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-configure-remote-access-for-mongodb-on-ubuntu-20-04-de and now at the end I get this msg: nc: connect to MONGOSERVERIP port 27017 ...
      Accepted Answer: Hi there, Do you have a firewall like ufw or csf for example? If this is the case you need to make sure that you either allow the IP that you are connecting from via the firewall or you open the 27017 port for incomin...
      1 answer17 days agoBy SeanMongoDB
    • Tutorial

      How to Connect a Django App to MongoDB with PyMongo

      PyMongo is the official driver for connecting Django apps to a MongoDB database. In this tutorial, you will create a Managed MongoDB database cluster and use PyMongo to connect it with your Django application. You’ll ...
      17 days agoBy sainttobsDigitalOcean Managed MongoDB DatabaseDjangoMongoDBPython Frameworks
    • Question

      Connecting mongodb instance on server to Compass

      I have a droplet server with an instance of mongodb on it. I can connect via SSH and view mongodb, however I really want to connect it to compass. However I keep getting ‘connect ECONNREFUSED’ error. I’ve tried combin...
      1 answer22 days agoBy RaviMongoDB
    • Question

      Check provision status of api created database cluster

      We are creating a database cluster from the api. That part works fine, but we need a way to check and be notified once the cluster is done provisioning so we can add the databases to it. We tried making a curl call to...
      1 answer1 month agoBy Garrett WeinbergDatabasesMongoDBNode.js
    • Tech Talk

      Building Modern Apps With MongoDB

      When it comes to choosing a database, do MongoDB or do not—there is no try. Learn how to set up, deploy, and connect to a MongoDB database and float your app out of the swamp!
      2 months agoBy Ado KukicApplicationsMongoDBTech Talks
    • Question

      Node.js. Response is delayed after a certain time

      I have published nodejs application under apps. When I deploy for the first time, the response returns fast as it should. After 3-4 hours, the responses are returning 6x-7x slow. I’m also using MongoDb.I did not have ...
      1 answer2 months agoBy TinyElectricBlueClamAPIDigitalOcean App PlatformDigitalOcean Managed MongoDB DatabaseMongoDBNode.js
    • Question

      FIPS in mongodb

      how can i configure my mongodb to use FIPS
      1 answer3 months agoBy velascoflores93DigitalOcean Managed MongoDB DatabaseMongoDB
    • Question

      USING MONGODB LOCALLY - BACKEND DEV

      When i started learnig mongodb, i learned how to create a cluster on the cloud, and how to connect it with my node.js backend. But how, now that i’ve installed mongodb locally, can i do the same offline, just like it ...
      1 answer3 months agoBy f4978c89b12e-4b48-ac87-cf9822MongoDBNode.js
    • Question

      how to setup daily backup mongoDB database in digitalocean.

      I don’t need to download current database. I need a delete data backup from a day or two ago. Also I certainly don’t need to restore current database from a backup. So, is there a way I could download just the backup?
      2 answers3 months agoBy StealthDigitalOcean Managed MongoDB DatabaseMongoDB
    • Tutorial

      How To Perform CRUD Operations in MongoDB

      Data management involves four fundamental types of database operations: operations that allow you to create, read, update, and delete data. Collectively, these operations are known as CRUD operations. This tutorial ou...
      3 months agoBy Mateusz PapiernikDatabasesMongoDB
    • Tutorial

      How To Use MongoDB in a Flask Application

      In web applications, you usually need a database to store and maintain persistent data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python L...
      4 months agoBy Abdelhadi DyouriDevelopmentFlaskMongoDBPython FrameworksDatabasesPython
    • Question

      Mongodb Compass stops working (Server selection timed out after 30000 ms)

      I have mongodb database in digital ocean. I already have my ip address in trusted sources. Mongodb compass was working fine but it stops working now. I tried everything but couldnot again connect.
      Accepted Answer: Hello, Have you specified the +srv part in your MongoDB connection string as described here? https://docs.digitalocean.com/products/databases/mongodb/how-to/connect/#connect-to-the-database Best, Bobby
      1 answer4 months agoBy [email protected]DigitalOcean Managed MongoDB DatabaseMongoDB
    • Tutorial

      How To Monitor MongoDB's Performance

      MongoDB comes installed with a variety of tools and utilities you can use to observe database performance. In this tutorial, you’ll learn how to monitor database metrics on-demand using built-in commands and tools. Yo...
      5 months agoBy Mateusz PapiernikDatabasesMongoDBMonitoringNoSQL
    • Tutorial

      How To Use Schema Validation in MongoDB

      In MongoDB, the database engine feature that makes it possible to apply constraints on the document structure is called Schema Validation and is built around JSON Schema, an open standard for JSON document structure d...
      5 months agoBy Mateusz PapiernikDatabasesMongoDBData Analysis
    • Question

      self signed certificate in certificate chain on mongo db compass

      im using windows 10 on the mongo managed cluster. how do i connect using the supplied certificate if it is self signed? ive even installed the certificate as a trusted source.
      1 answer5 months agoBy JesusisLord33333MongoDBDigitalOcean Managed MongoDB Database
    • Question

      Mongo TLS certificate from ENV

      The digital-ocean hosted mongo-DB requires TLS authentication using the -tlsCAFile connection parameter.If possible, I would not like to commit the ca-certificate.crt into my github repo.So, the approach is to outsour...
      1 answer5 months agoBy colinriMongoDBNode.js
    • Question

      Managed MongoDB vs self-managed -- will my scripts still crash mongod?

      Hi there, I’m working on a big data / analytics project, running entirely on a DO droplet (Ubuntu). The DB backend for this project is MongoDB. So far, I’ve run the project (pre-production) on a MongoDB install on the...
      1 answer5 months agoBy nikloynesMongoDBDigitalOcean Managed MongoDB Database
    • Question

      Can I deploy a PERN(Postgres,Express,React,Nodejs) stack web app to Digital Ocean? How much will it cost?

      I am made a Pern stack app for a school which can perform crud operations. The database is Postgres and it will have 10 tables and approximately 2000 rows for each table. How much will hosting this app cost monthly?
      Accepted Answer: Hi there, Yes, this tech stack could be set up on a single $5/mo Droplet. However the size of the server would depend on the complexity of the app, the amount of traffic and the resources that the app needs. What I us...
      1 answer6 months agoBy hamdanhassanNode.jsReactPostgreSQLMongoDB