0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-23 16:07:39 +01:00
The MongoDB Database
Go to file
Daniel Moody c67a3df2aa SERVER-97283 fix scons compiledb (#29363)
GitOrigin-RevId: ec365e57d2ea39b3b40efb3ffe0bef2d57eb7574
2024-11-19 20:16:44 +00:00
.github SERVER-97005 Add codeowners file for QueryTester (#29225) 2024-11-15 18:54:12 +00:00
.vscode_defaults SERVER-97214 Add spelling and yaml extension to vscode recommendations (#29241) 2024-11-15 18:53:57 +00:00
bazel SERVER-97327 Use -fdiagnostics-color for clang/gcc in bazel (#29340) 2024-11-19 16:35:08 +00:00
buildfarm SERVER-88994 Change OWNERS.yml files to use github teams (#20792) 2024-04-04 21:40:28 +00:00
buildscripts SERVER-96847 Enable forbid-duplicated-anchors and forbid-unused-anchors yamllint rule (#29339) 2024-11-19 17:23:27 +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-96406 Update the branching instructions for the scheduled compiles (#28656) 2024-11-04 17:15:28 +00:00
etc SERVER-96847 Enable forbid-duplicated-anchors and forbid-unused-anchors yamllint rule (#29339) 2024-11-19 17:23:27 +00:00
evergreen SERVER-97313 Enable ec2.assume_role command parsing in version_gen (#29328) 2024-11-19 17:23:40 +00:00
jstests SERVER-97041 Remove ECC Tokens (#29127) 2024-11-19 19:15:22 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#24255) 2024-07-05 21:35:08 +00:00
site_scons SERVER-97283 fix scons compiledb (#29363) 2024-11-19 20:16:44 +00:00
src SERVER-96135: Ensure commands are appropriately redacted for tassert/invariant log extensions (#29305) 2024-11-19 19:53:36 +00:00
tools SERVER-91979 Upgrade to Bazel 7.2 (#28749) 2024-11-01 21:08:36 +00:00
.bazelignore SERVER-82800 Port mozjs to Bazel (#27124) 2024-09-16 21:52:13 +00:00
.bazelrc SERVER-91979 Upgrade to Bazel 7.2 (#28749) 2024-11-01 21:08:36 +00:00
.bazelversion SERVER-91979 Upgrade to Bazel 7.2 (#28749) 2024-11-01 21:08:36 +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-97134 Only promote clang-tidy warnings to errors in CI scripts (#29191) 2024-11-15 18:54:55 +00:00
.eslintignore
.eslintrc.yml SERVER-82330 Add ability to decode resume token from bson in js tests (#28345) 2024-11-05 16:36:15 +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-97283 fix ninja compiledb (#29306) 2024-11-19 17:17:35 +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
.udbinit
BUILD.bazel SERVER-97283 fix scons compiledb (#29363) 2024-11-19 20:16:44 +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
cspell.json SERVER-97214 Add spelling and yaml extension to vscode recommendations (#29241) 2024-11-15 18:53:57 +00:00
jsconfig.json SERVER-95506: jsconfig.json should include files rather than exclude them. (#27790) 2024-10-14 22:25:31 +00:00
LICENSE-Community.txt
OWNERS.yml SERVER-97064 .clang-format and .clang-tidy.in should be owned by Server Programability team (#29148) 2024-11-14 14:45:33 +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-93976 Remove deps and configs obsoleted by Ruff (#28854) 2024-11-12 22:07:52 +00:00
pyproject.toml SERVER-93976 Remove deps and configs obsoleted by Ruff (#28854) 2024-11-12 22:07:52 +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-96236 Update libmongocrypt to 1.12.0 (#28899) 2024-11-06 17:15:24 +00:00
sbom.json SERVER-96236 Update libmongocrypt to 1.12.0 (#28899) 2024-11-06 17:15:24 +00:00
SConstruct SERVER-97283 fix ninja compiledb (#29306) 2024-11-19 17:17:35 +00:00
symbols.orderfile SERVER-90930 adding symbol.orderfile and build flags (#22633) 2024-05-29 01:44:21 +00:00
WORKSPACE.bazel SERVER-91979 Upgrade to Bazel 7.2 (#28749) 2024-11-01 21:08:36 +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.