Go to file
Erin McNulty 6cd3d8330d SERVER-103828 Handle empty socket in peekASIOStream (#35318)
GitOrigin-RevId: 4f70e0aaccb6426c94b440aaad5be5358d755c57
2025-05-13 16:22:32 +00:00
.github 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00
.vscode_defaults SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00
buildscripts SERVER-100387 Make error code linter work with 6 digit SERVER ticket ids (#35296) 2025-04-23 16:22:02 +00:00
debian SERVER-78987 Remove the free monitoring code from mongodb/mongo repo 2023-08-24 14:53:01 +00:00
distsrc SERVER-90391 Fix license details in headers + READMEs (#24537) 2024-07-10 20:20:42 +00:00
docs SERVER-100387 Make error code linter work with 6 digit SERVER ticket ids (#35296) 2025-04-23 16:22:02 +00:00
etc SERVER-96128 Remove references to linkbench in system_perf [v6.0] (#29558) 2025-04-25 13:43:14 +00:00
evergreen SERVER-91334 Onboard Server to papertrail service on v6.0 (#32426) 2025-04-11 17:15:10 +00:00
jstests SERVER-103828 Handle empty socket in peekASIOStream (#35318) 2025-05-13 16:22:32 +00:00
rpm SERVER-92375 Remove minor version from rhel8.x variant names (#24706) 2024-07-15 09:24:37 +00:00
site_scons 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00
src SERVER-103828 Handle empty socket in peekASIOStream (#35318) 2025-05-13 16:22:32 +00:00
.clang-format SERVER-41771 Use `clang-format-7.0.1` in our clang-format helper script 2019-07-27 11:02:21 -04:00
.clang-tidy SERVER-60831 Document configuration for Server linting tools 2022-03-31 19:32:55 +00:00
.eslintignore SERVER-31390 Use a templating language to generate error_codes.{h,cpp,js} 2017-11-02 14:25:21 -04:00
.eslintrc.yml SERVER-70553 Add module support to jstests 2022-12-27 17:53:33 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2024-01-17 17:58:08 +00:00
.gitattributes SERVER-29877 Mount /data on EBS volume in AWS EC2 instance 2017-07-06 09:59:28 -04:00
.gitignore SERVER-87544 - Fix up gitignore entry for enterprise module (backport to v6.0) (#19627) 2024-03-06 23:41:55 +00:00
.lldbinit SERVER-41168 Add lldb comment to .lldbinit 2019-06-17 10:07:37 -04:00
.mypy.ini SERVER-50592 Update mypy and GitPython pip requirements 2020-09-01 01:19:35 +00:00
.pydocstyle SERVER-65672 upgrade python packages to support 3.10 2022-05-31 15:03:45 +00:00
.pylintrc SERVER-58695 improved symbolizer 2021-07-26 11:23:45 +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 SERVER-29767 Update CONTRIBUTING.rst to point to github wiki 2017-06-21 11:05:25 -04:00
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 (#24537) 2024-07-10 20:20:42 +00:00
README.third_party.md SERVER-84612 Update README.third_party.md with immer version (#18292) 2024-03-04 00:22:11 +00:00
SConstruct 6.0.20 release maintenance (#28906) 2024-11-19 22:11:49 +00:00
copy.bara.sky SERVER-94187 Switch git ssh to https in copybara (#27213) 2024-11-20 22:13:48 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27213) 2024-11-20 22:13:48 +00:00
jsconfig.json SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00
package.json SERVER-68594 Added vscode defaults to v6.0 2023-01-21 16:34:25 +00:00

README.md

Logo MongoDB README

Welcome to MongoDB!

Components

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

Utilities

install_compass - Installs MongoDB Compass for your platform.

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.

Documentation

https://docs.mongodb.com/manual/

Cloud Hosted MongoDB

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

Forums

Learn MongoDB

https://university.mongodb.com/

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.