0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 08:30:56 +01:00
The MongoDB Database
Go to file
Daniel Moody 64902112ec SERVER-86840 adjust gather failed unittests script to handle split unittests (#19133)
GitOrigin-RevId: 72e8bf454325a45604b6d23b46bd3c64397a4f16
2024-02-21 17:20:03 +00:00
.vscode_defaults
bazel SERVER-82921 Support ppc64le as a target platform in Bazel (#18672) 2024-02-17 04:32:05 +00:00
buildfarm
buildscripts SERVER-86836 disable ValidateCollections hook in some replica set endpoint test suites (#19131) 2024-02-21 15:20:04 +00:00
debian
distsrc SERVER-85973 Update valgrind license information (#18665) 2024-02-09 20:55:38 +00:00
docs SERVER-86089 Ensure python 3.10 is required to build mongodb (#18985) 2024-02-15 21:15:02 +00:00
etc SERVER-85283: Upgrade to latest snappy (#18886) 2024-02-21 16:28:45 +00:00
evergreen SERVER-86840 adjust gather failed unittests script to handle split unittests (#19133) 2024-02-21 17:20:03 +00:00
jstests SERVER-86537 Add a test for sparse fields in a time-series bucket (#19153) 2024-02-21 17:19:26 +00:00
rpm SERVER-86106: Fix shadow-utils package on suse (#18641) 2024-02-02 17:56:17 +00:00
site_scons SERVER-86661 improve ninja bazel build error messages (#19091) 2024-02-17 09:40:55 +00:00
src SERVER-60559 Enable Feature flag for PM-2570 2024-02-21 17:19:43 +00:00
.bazelignore SERVER-85737 add latest TCMalloc from google as allocator option (#18870) 2024-02-16 19:56:42 +00:00
.bazelrc SERVER-86786 Add bes_keyword to distinguish between mms & mongo repos (#19094) 2024-02-19 03:05:22 +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
.eslintignore
.eslintrc.yml
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore SERVER-85283: Upgrade to latest snappy (#18886) 2024-02-21 16:28:45 +00:00
.lldbinit
.mypy.ini
.prettierignore SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
.prettierrc SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
.pydocstyle
.pylintrc
.style.yapf
.udbinit
BUILD.bazel SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
CODEOWNERS SERVER-85713 Exclude error_codes.yml from Service Arch owned files (#18377) 2024-01-26 23:32:55 +00:00
CONTRIBUTING.rst
copybara.sky SERVER-80018 add bazel formatting requirement to commit queue (#18477) 2024-01-30 08:39:31 +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
jsconfig.json
LICENSE-Community.txt
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-86765 update pipx to 1.4.3 (#19078) 2024-02-17 04:31:26 +00:00
pyproject.toml SERVER-86765 update pipx to 1.4.3 (#19078) 2024-02-17 04:31:26 +00:00
README.md
README.third_party.md SERVER-85283: Upgrade to latest snappy (#18886) 2024-02-21 16:28:45 +00:00
SConstruct Revert "SERVER-85826 Enable Bazel by default on Amazon Linux 2 (#19069)" 2024-02-19 11:58:31 +00:00
WORKSPACE.bazel SERVER-86719 Add automatic retries when downloading bazel toolchain components (#19051) 2024-02-17 00:22:00 +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.