0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-22 04:59:34 +01:00
The MongoDB Database
Go to file
Britt Snyman 22b6ecf999 SERVER-87888 Update man pages for 8.0 (#25054)
GitOrigin-RevId: cc850514aeed8853f1f2c877f5f3899a0f33fd13
2024-07-22 17:18:25 +00:00
.github
.vscode_defaults
bazel
buildfarm
buildscripts SERVER-92696 Fix evergreen filtering logging in resmoke (#25108) 2024-07-22 15:37:43 +00:00
debian SERVER-87888 Update man pages for 8.0 (#25054) 2024-07-22 17:18:25 +00:00
distsrc
docs
etc SERVER-92431 Exclude find_with_resume_after_param.js from multiversion testing (#25039) 2024-07-22 16:06:51 +00:00
evergreen
jstests SERVER-81109:Fix internal_transactions_sharded_from_mongod.js's handling of causal consistency across sessions (#24784) 2024-07-22 16:26:54 +00:00
rpm
site_scons
src SERVER-92673 Increase assertion timeout in health observer tests (#25073) 2024-07-22 17:04:21 +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
abc.cc
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
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 which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.