0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
The MongoDB Database
Go to file
2023-03-11 01:36:20 +00:00
.vscode_defaults SERVER-72197 Move to clang-format in v4 toolchain 2023-02-11 08:00:00 +00:00
buildscripts SERVER-74391: Add streams benchmark suite 2023-03-08 19:41:32 +00:00
debian SERVER-38232 Add RuntimeDirectory to mongod.service 2023-02-10 03:10:51 +00:00
distsrc Revert "SERVER-68365 integrate third_party grpc 1.39.1 into the build" 2023-02-02 19:17:44 +00:00
docs SERVER-74549 Reference public repository from public markdown files 2023-03-03 10:31:56 +00:00
etc SERVER-74690: Change Atlas Real variants to use "2022-11" workload client 2023-03-09 15:15:26 +00:00
evergreen SERVER-74288 switch commit-queue cache to share patch cache 2023-03-06 21:32:00 +00:00
jstests SERVER-74283: fix broken test 2023-03-11 01:36:20 +00:00
rpm SERVER-71380 Use systemctl try-restart during postun 2022-12-06 20:13:38 +00:00
site_scons SERVER-73788 add per variant cache dir and improved cache dir logs 2023-02-22 09:03:41 +00:00
src SERVER-74283: fix broken test 2023-03-11 01:36:20 +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-71742 Move volatile keyword lint to clang-tidy 2023-02-23 23:17:58 +00:00
.eslintignore
.eslintrc.yml SERVER-73541 Use dynamic import when loading parallel tester tests 2023-02-03 15:40:45 +00:00
.gdbinit
.git-blame-ignore-revs SERVER-73917 Added another rev to ignore 2023-02-14 21:15:48 +00:00
.gitattributes
.gitignore SERVER-74523 fix abseil structure and improve import script. 2023-03-06 17:32:43 +00:00
.lldbinit
.mypy.ini
.pydocstyle
.pylintrc SERVER-69148 Added looser python linting back to mongo pretty printers 2023-01-25 04:39:43 +00:00
.style.yapf
.udbinit
CONTRIBUTING.rst
CreativeCommons.txt
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
LICENSE-Community.txt
package.json SERVER-68594 Moved location of code-workspace file 2023-01-12 20:08:40 +00:00
README.md SERVER-71682 Update README.md 2022-11-30 19:48:24 +00:00
README.third_party.md Revert "SERVER-73918 Updated pcre2" 2023-02-28 21:27:40 +00:00
SConstruct SERVER-74571 add shared archive as part of nolinked cache option 2023-03-06 18:34:10 +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

Documentation - https://docs.mongodb.com/manual/ Developer Center - https://www.mongodb.com/developer/ MongoDB University - https://learn.mongodb.com

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.