C++

mongo

The MongoDB Database

M

mongodb

Dernière activité 29 sept. 2026
mongodb/mongo

28,6 k

étoiles

5,8 k

forks

36

issues ouvertes

c-plus-plusdatabasemongodbnosql

Ce README est souvent en anglais.

Logo MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.

Download MongoDB

Download the MongoDB Shell

Building

See Building MongoDB.

Running

For command line options invoke:

$ ./mongod --help

To run a single server database:

$ sudo mkdir -p /data/db
$ ./mongod
$
$ # The mongosh shell connects to localhost and test database by default:
$ ./mongosh
test> help

Installing Compass

You can install compass using the install_compass script packaged with MongoDB:

$ ./install_compass

This will download the appropriate MongoDB Compass package for your platform and install it.

Drivers

Client drivers for most programming languages are available at https://docs.mongodb.com/manual/applications/drivers/.

Bug Reports

See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.

Packaging

Packages are created dynamically by the buildscripts/packager.py script. This will generate RPM and Debian packages.

Learn MongoDB

Cloud Hosted MongoDB

https://www.mongodb.com/cloud/atlas

Forums

LICENSE

MongoDB is free and the source is available. Versions released prior to October 16, 2018 are published under the AGPL. All versions released after October 16, 2018, including patch fixes for prior versions, are published under the Server Side Public License (SSPL) v1. See individual files for details which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.

Projets similaires

The Official MongoDB driver for C language

Ccmongodbmongodb-driver
Mmongodb
882 étoiles474

The official MongoDB Node.js driver

TypeScriptdatabasemongodbnode-js
Mmongodb
10,2 k étoiles1,8 k

C++ Driver for MongoDB

C++bsonbson-libraryc-plus-plus
Mmongodb
1,1 k étoiles554