0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-21 20:49:10 +01:00
The MongoDB Database
Go to file
2023-08-15 17:20:55 +00:00
.vscode_defaults SERVER-75543 Changed suggested clang-tidy extension 2023-03-31 20:59:10 +00:00
antithesis/templates SERVER-79553 "One-click" antithesis docker image build & test process that runs locally & in CI (pt. 3) 2023-08-15 15:57:54 +00:00
buildscripts SERVER-79553 "One-click" antithesis docker image build & test process that runs locally & in CI (pt. 3) 2023-08-15 15:57:54 +00:00
debian SERVER-75244 Updated man pages for 7.0 2023-07-15 02:56:36 +00:00
distsrc SERVER-77274 Delete src/third_party/variant-1.4.0 library 2023-06-11 21:26:52 +00:00
docs SERVER-79749 Adapt integrate_bazel to obtain bazelisk if needed 2023-08-04 21:33:57 +00:00
etc SERVER-79988 Add evergreen tasks for Bonsai fuzzer 2023-08-15 16:37:49 +00:00
evergreen SERVER-79553 "One-click" antithesis docker image build & test process that runs locally & in CI (pt. 3) 2023-08-15 15:57:54 +00:00
jstests SERVER-73348 Remove DocumentSourceSequentialDocumentCache invariant 2023-08-15 17:20:55 +00:00
rpm SERVER-76179 Add RuntimeDirectory to mongod.service for RPM 2023-05-04 01:16:03 +00:00
site_scons SERVER-77821 Simulator for ThroughputProbing ticket monitor 2023-08-08 20:21:35 +00:00
src SERVER-73348 Remove DocumentSourceSequentialDocumentCache invariant 2023-08-15 17:20:55 +00:00
.bazelrc SERVER-80013 Added incompatible_strict_action_env to bazelrc 2023-08-15 16:38:57 +00:00
.bazelversion SERVER-80012 Added bazel version pin 2023-08-15 16:40:14 +00:00
.clang-format
.clang-tidy.in SERVER-79407 Enable bugprone-parent-virtual-call clang-tidy check 2023-08-14 16:58:17 +00:00
.eslintignore
.eslintrc.yml SERVER-79896 Prevent load calls with linter rules 2023-08-14 23:48:19 +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-80002 Exclude jstest migration revs from git blame 2023-08-15 15:17:22 +00:00
.gitattributes
.gitignore SERVER-79553 "One-click" antithesis docker image build & test process that runs locally & in CI (pt. 3) 2023-08-15 15:57:54 +00:00
.lldbinit
.mypy.ini SERVER-72262 Bump Python minimum version to 3.9/3.10 2023-08-02 21:39:07 +00:00
.pydocstyle
.pylintrc SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
.style.yapf
.udbinit
CONTRIBUTING.rst
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
jsconfig.json
LICENSE-Community.txt
package.json
README.md SERVER-76731 Update README.md 2023-05-01 23:12:58 +00:00
README.third_party.md SERVER-79083 Add C Driver to README.third_party.md 2023-07-27 16:39:50 +00:00
SConstruct SERVER-79817 Remove TODO referencing outdated scons task 2023-08-10 20:57:38 +00:00
WORKSPACE.bazel SERVER-79379 Establish Bazel-buildability for fsync_locked library 2023-08-04 14:20:32 +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.