# MongoDB C++ Driver

MongoDB C++ Driver is a self-hosted databases app. The MongoDB C++ Driver is the official client library that lets C++ applications connect to and interact with MongoDB databases. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5521/mongodb-c-driver

## Description

The MongoDB C++ Driver is the official client library that lets C++ applications connect to and interact with MongoDB databases. It provides the APIs for storing, retrieving, and managing data that developers writing custom C++ programs need to talk to MongoDB natively.

## Platform availability

Available on 0 of 9 platforms.

## Health score

71/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 19 days ago)
- Popular: 61 (1,107 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- GitHub: https://github.com/mongodb/mongo-cxx-driver
- Docker Hub: https://hub.docker.com/r/mongodb/mongo-cxx-driver
- Documentation: https://www.mongodb.com/docs/drivers/cxx/

## Common questions

### What CMake issues have been reported when building mongo-cxx-driver 4.5.0 with VS2022 on Windows?

CMake errors can occur even if the C driver download succeeds. The thread notes that building the C++ driver from a self-built C driver is not clearly explained.

### How can I install the modern MongoDB C++ driver on Fedora?

Install the mongo-cxx-driver-devel package. The Fedora discussion says this provides the modern C++ MongoDB driver and replaces the legacy driver.

### What should I check before upgrading to a newer version of the C++ driver?

Check the Upgrade Driver Versions documentation. It explains what changes you might need to make to your application when upgrading driver versions.

## Alternatives

- Microsoft SQL Server: SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
- MySQL Community Edition: Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
- PostgreSQL: PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
- Redis: Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- SQLite: SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.
- mongo: MongoDB is a digital filing system that stores information in flexible folders rather than rigid tables.

---
Source: Our Local Host (https://ourlocalhost.com/app/5521/mongodb-c-driver), the self-hosted and open-source app directory.
