0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-25 09:19:32 +01:00
The MongoDB Database
Go to file
2024-06-10 15:29:04 +00:00
.github
.vscode_defaults
bazel SERVER-88787 Port third party library to Bazel: intelrdfpmathlib (#23059) 2024-06-07 21:07:23 +00:00
buildfarm
buildscripts SERVER-91322 resmoke multiversion-config: set evergreen config options (#23198) 2024-06-07 21:25:21 +00:00
debian SERVER-84800: Remove eMRC:false in non-repl code (#23020) 2024-06-05 20:53:00 +00:00
distsrc SERVER-90391 Update Enterprise license headers and Community README (#22692) 2024-06-06 20:11:45 +00:00
docs
etc SERVER-91139 Unify all temp_disabled_embedded_router_* flags (#23155) 2024-06-10 14:55:27 +00:00
evergreen SERVER-84800: Remove eMRC:false in non-repl code (#23020) 2024-06-05 20:53:00 +00:00
jstests SERVER-66847 txn_single_write_shard_failover.js should wait for primary re-election before retrying commitTransaction (#23100) 2024-06-10 15:29:04 +00:00
rpm
site_scons SERVER-91072 Remove RHEL 7.x Build Variants (#22822) 2024-06-05 23:07:40 +00:00
src SERVER-91336 Temporary C++ objects in an expression is short lived (#23222) 2024-06-10 15:28:51 +00:00
tools
.bazelignore
.bazelrc
.bazelversion
.clang-format
.clang-tidy.in
.eslintignore
.eslintrc.yml
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.lldbinit
.mypy.ini
.prettierignore
.prettierrc
.pydocstyle
.pylintrc
.style.yapf
.udbinit
BUILD.bazel
CONTRIBUTING.rst
copy.bara.sky
copybara.staging.sky
CreativeCommons.txt
jsconfig.json
LICENSE-Community.txt
OWNERS.yml
package.json
pnpm-lock.yaml
poetry.lock
pyproject.toml
README.md
README.third_party.md
sbom.json
SConstruct Revert "SERVER-88837 Raise tsan history_size to 6 (#22405)" (#22975) 2024-06-05 01:33:12 +00:00
symbols.orderfile
WORKSPACE.bazel

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.