0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00
The MongoDB Database
Go to file
Daniel Hill fca47bffd1 SERVER-90930 adding symbol.orderfile and build flags (#22633)
GitOrigin-RevId: 8e3c8eb6aec4d3bca8e43253726ea4628ef7e6d0
2024-05-29 01:44:21 +00:00
.github SERVER-90928 Remove lines other than commit title from syncing (#22589) 2024-05-28 23:12:16 +00:00
.vscode_defaults SERVER-90570: Enable formatting checks for buildscripts directory, excluding idl (#22254) 2024-05-16 22:07:36 +00:00
bazel SERVER-86898: undefined sanitizer copts and local defines updated (#21774) 2024-05-22 18:43:22 +00:00
buildfarm SERVER-88994 Change OWNERS.yml files to use github teams (#20792) 2024-04-04 21:40:28 +00:00
buildscripts SERVER-90949 Removed copybara commit pin (#22654) 2024-05-29 00:05:55 +00:00
debian SERVER-88229 Configure glibc tunables in mongod.service for new tcmalloc (#20977) 2024-04-16 19:50:07 +00:00
distsrc SERVER-84609 Define a version for Aladdin MD5 (#19406) 2024-05-17 22:47:09 +00:00
docs SERVER-90855 Document the packaging system a bit more (#22540) 2024-05-28 14:54:55 +00:00
etc SERVER-90159 turn separate_debug off in antithesis SAN variants (#21830) 2024-05-28 18:56:39 +00:00
evergreen SERVER-90875 Add retries around all Bazel calls in Evergreen (#22578) 2024-05-24 20:09:01 +00:00
jstests Revert "SERVER-90871 Fix reading sub-field of scalar in Document::getNestedFieldNonCaching (#22581)" (#22638) 2024-05-28 20:31:06 +00:00
rpm SERVER-88229 Configure glibc tunables in mongod.service for new tcmalloc (#20977) 2024-04-16 19:50:07 +00:00
site_scons SERVER-90713 Turn off libunwind in TSAN build profile (#22396) 2024-05-21 23:41:41 +00:00
src Revert "SERVER-87069 fix lock order inversion in BlockedOp (#20802)" (#22653) 2024-05-29 00:05:30 +00:00
tools SERVER-89209 Create Developer Workstation Bazel Installation Script (#20994) 2024-04-11 00:54:28 +00:00
.bazelignore SERVER-90132 Ignore node_modules subdirectory of jstestfuzz (#21794) 2024-05-03 01:22:06 +00:00
.bazelrc SERVER-89878 add support for bazel with coverity (#21587) 2024-04-30 05:43:44 +00:00
.bazelversion SERVER-86787 Update Bazelisk to pin Bazel to v6.4.0 (#19093) 2024-02-20 22:20:26 +00:00
.clang-format
.clang-tidy.in SERVER-90540 Add bugprone and perf clang-tidy checks that apply cleanly (#22225) 2024-05-28 16:22:29 +00:00
.eslintignore
.eslintrc.yml SERVER-87392 Expose a getStringWidth helper to the test runner (#19531) 2024-05-11 12:08:26 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2023-04-21 13:30:50 +00:00
.git-blame-ignore-revs SERVER-90771: Ignore Ruff formatting changes in git history (#22455) 2024-05-23 14:11:58 +00:00
.gitattributes
.gitignore SERVER-89878 add support for bazel with coverity (#21587) 2024-04-30 05:43:44 +00:00
.lldbinit
.mypy.ini SERVER-72262 Bump Python minimum version to 3.9/3.10 2023-08-02 21:39:07 +00:00
.prettierignore SERVER-88970 Added yaml formatting to server repo 2024-04-06 05:23:20 +00:00
.prettierrc SERVER-88970 Added ignored revs to this formatting change 2024-04-06 09:51:25 +00:00
.pydocstyle
.pylintrc SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
.style.yapf
.udbinit
BUILD.bazel SERVER-80396 Refactor clang-tidy configuration to a genrule (#21302) 2024-04-19 21:31:06 +00:00
CONTRIBUTING.rst
copy.bara.sky SERVER-90928 Remove lines other than commit title from syncing (#22589) 2024-05-28 23:12:16 +00:00
copybara.staging.sky SERVER-80018 add bazel formatting requirement to commit queue (#18477) 2024-01-30 08:39:31 +00:00
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
jsconfig.json
LICENSE-Community.txt
OWNERS.yml SERVER-90928 Remove lines other than commit title from syncing (#22589) 2024-05-28 23:12:16 +00:00
package.json SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
pnpm-lock.yaml SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
poetry.lock SERVER-90831 update docker-py to v7.1.0 (#22538) 2024-05-24 01:15:30 +00:00
pyproject.toml SERVER-90831 update docker-py to v7.1.0 (#22538) 2024-05-24 01:15:30 +00:00
README.md SERVER-88970 Added yaml formatting to server repo 2024-04-06 05:23:20 +00:00
README.third_party.md SERVER-72019 Import libbson from mongo-c-driver_1.26.2 (#22531) 2024-05-24 18:55:14 +00:00
sbom.json SERVER-72019 Import libbson from mongo-c-driver_1.26.2 (#22531) 2024-05-24 18:55:14 +00:00
SConstruct SERVER-90930 adding symbol.orderfile and build flags (#22633) 2024-05-29 01:44:21 +00:00
symbols.orderfile SERVER-90930 adding symbol.orderfile and build flags (#22633) 2024-05-29 01:44:21 +00:00
WORKSPACE.bazel Revert "SERVER-90583: Add Ruff to bazel //:format target (#22268)" 2024-05-17 00:55:08 +00:00

Logo MongoDB README

Welcome to MongoDB!

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

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.