Go to file
adriangzz 3deaeb434f SERVER-114867 Define RSA_PSS_SALTLEN_DIGEST if not defined by OpenSSL (#44886)
GitOrigin-RevId: 6828515f8f1695d4f2239e006f85979dd704cb29
2025-12-08 22:53:25 +00:00
.github SERVER-111072 Automate SBOM Generation from Endor Labs API [v7.0] (#44006) 2025-12-01 17:58:49 +00:00
.vscode_defaults SERVER-84147 Changed code workspace from true to explicit 2024-01-10 19:40:18 +00:00
buildscripts SERVER-114494 Improvements to SBOM automation [v7.0-staging] (#44603) 2025-12-08 22:51:55 +00:00
debian SERVER-78987 Remove the free monitoring code from mongodb/mongo repo 2023-08-23 19:19:28 +00:00
distsrc SERVER-90391 Fix license details in headers + READMEs (#24536) 2024-07-10 20:17:30 +00:00
docs SERVER-90424 A reader-friendly reader-writer mutex type 2025-07-30 16:11:07 +00:00
etc SERVER-113888 SERVER-113889 Internal-only indices can only be created by the system (#44791) 2025-12-08 22:52:20 +00:00
evergreen SERVER-113685 SERVER-113900 SERVER-113897 Disallow wildcard index creation where projection is only _id exclusion (#44589) 2025-12-08 22:52:57 +00:00
jstests SERVER-113685 SERVER-113900 SERVER-113897 Disallow wildcard index creation where projection is only _id exclusion (#44589) 2025-12-08 22:52:57 +00:00
rpm SERVER-92375 Remove minor version from rhel8.x variant names (#24701) 2024-07-15 09:11:17 +00:00
site_scons SERVER-105041, SERVER-106965, SERVER-106988 [v7.0] upgrade to scons 4.9.1 and set MSVC_TOOLSET_VERSION (#36558) 2025-09-17 12:31:45 +00:00
src SERVER-114867 Define RSA_PSS_SALTLEN_DIGEST if not defined by OpenSSL (#44886) 2025-12-08 22:53:25 +00:00
.clang-format SERVER-74089 Change clang-format setting DeriveLineEnding to true to allow for Windows-style line endings locally 2023-02-17 01:36:20 +00:00
.clang-tidy.in SERVER-71744 Move atomic, mutex and nonmongo assert to clang-tidy 2023-03-28 01:06:44 +00:00
.eslintignore SERVER-69408 Add randomized testing for the mixed-type timeseries bug 2022-09-16 22:05:44 +00:00
.eslintrc.yml SERVER-99146 Disallow committing imports of ShardingTest and ReplSetTest (#32551) 2025-08-19 18:59:22 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2024-01-11 20:12:16 +00:00
.git-blame-ignore-revs SERVER-73917 Added another rev to ignore 2023-02-14 21:15:48 +00:00
.gitattributes SERVER-29877 Mount /data on EBS volume in AWS EC2 instance 2017-07-06 09:59:28 -04:00
.gitignore SERVER-112229 update auto header ignore on old branches (#42452) 2025-12-01 17:55:27 +00:00
.lldbinit SERVER-41168 Add lldb comment to .lldbinit 2019-06-17 10:07:37 -04:00
.mypy.ini SERVER-100609 resolve sbom schema reference spdx.schema.json to a local copy (#34749) 2025-06-18 03:54:09 +00:00
.pydocstyle SERVER-68593 Disable low value python warnings 2022-09-02 22:55:09 +00:00
.pylintrc SERVER-69148 Added looser python linting back to mongo pretty printers 2023-01-25 04:39:43 +00:00
.style.yapf SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
.udbinit SERVER-50449 Add gdb helper scripts for UndoDB 2020-09-01 15:48:47 +00:00
CONTRIBUTING.rst
CreativeCommons.txt SERVER-45070 Add Creative Commons license for TLA+ specifications 2019-12-15 01:59:46 +00:00
LICENSE-Community.txt SERVER-37651 Fix typo in license files 2018-10-17 13:56:42 -04:00
README.md SERVER-90391 Fix license details in headers + READMEs (#24536) 2024-07-10 20:17:30 +00:00
README.third_party.md SERVER-114494 Improvements to SBOM automation [v7.0-staging] (#44603) 2025-12-08 22:51:55 +00:00
SConstruct SERVER-105041, SERVER-106965, SERVER-106988 [v7.0] upgrade to scons 4.9.1 and set MSVC_TOOLSET_VERSION (#36558) 2025-09-17 12:31:45 +00:00
copy.bara.sky SERVER-94187 Switch git ssh to https in copybara (#27212) 2024-11-20 21:59:35 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27212) 2024-11-20 21:59:35 +00:00
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
package.json SERVER-68594 Moved location of code-workspace file 2023-01-12 20:08:40 +00:00
sbom.json SERVER-114494 Improvements to SBOM automation [v7.0-staging] (#44603) 2025-12-08 22:51:55 +00:00

README.md

Logo MongoDB README

Welcome to MongoDB 7.0!

Components

  • mongod - The database server.
  • mongos - Sharding router.
  • mongo - The database shell (uses interactive javascript).

Download MongoDB

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 mongo javascript shell connects to localhost and test database by default:
  $ ./mongo
  > 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/. Use the shell (mongo) for administrative tasks.

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

Documentation - https://docs.mongodb.com/manual/ Developer Center - https://www.mongodb.com/developer/ MongoDB University - https://learn.mongodb.com

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.