0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-21 12:39:08 +01:00
The MongoDB Database
Go to file
Zack Winter 32a982e23b SERVER-82800 Port mozjs to Bazel (#27124)
GitOrigin-RevId: 5a5d11517f06052a43399376bf18a442bde4761c
2024-09-16 21:52:13 +00:00
.github SERVER-93492 Change QI owners to be individuals (#26903) 2024-09-16 21:23:11 +00:00
.vscode_defaults SERVER-94508 Update VSCode defaults for clickable stacktraces (#26782) 2024-09-06 13:23:57 +00:00
bazel SERVER-82800 Port mozjs to Bazel (#27124) 2024-09-16 21:52:13 +00:00
buildfarm SERVER-88994 Change OWNERS.yml files to use github teams (#20792) 2024-04-04 21:40:28 +00:00
buildscripts SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01:16 +00:00
debian SERVER-93920: Final cleanup for enableMajorityReadConcern flag (#26455) 2024-08-23 19:21:58 +00:00
distsrc SERVER-90391 Update Enterprise license headers and Community README (#22692) 2024-06-06 20:11:45 +00:00
docs SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01:16 +00:00
etc SERVER-82800 Port mozjs to Bazel (#27124) 2024-09-16 21:52:13 +00:00
evergreen Revert "SERVER-93983 add consolidated target support (#26887)" (#27114) 2024-09-16 17:47:09 +00:00
jstests SERVER-93492 Change QI owners to be individuals (#26903) 2024-09-16 21:23:11 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#24255) 2024-07-05 21:35:08 +00:00
site_scons Revert "SERVER-93983 add consolidated target support (#26887)" (#27114) 2024-09-16 17:47:09 +00:00
src SERVER-82800 Port mozjs to Bazel (#27124) 2024-09-16 21:52:13 +00:00
tools SERVER-89209 Create Developer Workstation Bazel Installation Script (#20994) 2024-04-11 00:54:28 +00:00
.bazelignore SERVER-82800 Port mozjs to Bazel (#27124) 2024-09-16 21:52:13 +00:00
.bazelrc SERVER-94753 Sync default mongo version in Bazel to SCons (#27010) 2024-09-12 17:56:01 +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 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-80631 add compile_command.json support for bazel (#25604) 2024-08-02 21:56:14 +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-94437 Introduce test runner prelude for interactive mode (#26746) 2024-09-05 14:44:51 +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-94015 fix gitignore core file wildcard (#26508) 2024-08-26 20:16:01 +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-93772 Add comment for golden tests in .prettierignore (#26649) 2024-09-02 08:57:24 +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-93846 Add support for symbol reordering in Bazel (#26389) 2024-08-21 22:16:15 +00:00
CONTRIBUTING.rst
copy.bara.sky SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01:16 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01:16 +00:00
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
LICENSE-Community.txt
OWNERS.yml SERVER-94187 Switch git ssh to https in copybara (#27049) 2024-09-16 16:01: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-93157 Add a linter check to prevent tests with experimental ta… (#26832) 2024-09-10 21:00:16 +00:00
pyproject.toml SERVER-93157 Add a linter check to prevent tests with experimental ta… (#26832) 2024-09-10 21:00:16 +00:00
README.md SERVER-91333: Reference mongosh in README instead of mongo shell (#25936) 2024-08-16 18:24:46 +00:00
README.third_party.md SERVER-94421 Update libbson to mongo-c-driver@1.27.6 (#26881) 2024-09-10 21:57:55 +00:00
sbom.json SERVER-94421 Update libbson to mongo-c-driver@1.27.6 (#26881) 2024-09-10 21:57:55 +00:00
SConstruct Revert "SERVER-93983 add consolidated target support (#26887)" (#27114) 2024-09-16 17:47:09 +00:00
symbols.orderfile SERVER-90930 adding symbol.orderfile and build flags (#22633) 2024-05-29 01:44:21 +00:00
WORKSPACE.bazel SERVER-94490 Upstream aggregated Bazel conversions (#26806) 2024-09-06 08:11:43 +00:00

Logo MongoDB README

Welcome to MongoDB!

Components

  • mongod - The database server.
  • mongos - Sharding router.

Download MongoDB

Download the MongoDB Shell

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 mongosh shell connects to localhost and test database by default:
$ ./mongosh
test> 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/.

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 which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.