Skip to content

DOCS-4434 #2131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/includes/steps-install-mongodb-on-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ ref: select-mongodb
pre: |
There are three builds of MongoDB for Windows:

**MongoDB for Windows Server 2008 R2 edition** (i.e. 2008R2) runs only
**MongoDB for Windows 64-bit** runs only
on Windows Server 2008 R2, Windows 7 64-bit, and newer versions of
Windows. This build takes advantage of recent enhancements to the
Windows Platform and cannot operate on older versions of Windows.

**MongoDB for Windows 64-bit** runs on any 64-bit version of Windows
newer than Windows XP, including Windows Server 2008 R2 and Windows 7
64-bit.

**MongoDB for Windows 32-bit** runs on any 32-bit version of Windows
newer than Windows XP. 32-bit versions of MongoDB are only intended for
newer than Windows Vista. 32-bit versions of MongoDB are only intended for
older systems and for use in testing and development systems. 32-bit
versions of MongoDB only support databases smaller than 2GB.

**MongoDB for Windows 64-bit Legacy** runs on Windows Vista, Windows
Server 2003, and Windows Server 2008 and does not include recent
performance enhancements.
action:
pre: |
To find which version of Windows you are running, enter the following
Expand Down
22 changes: 4 additions & 18 deletions source/includes/steps-run-mongodb-on-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ action:
language: powershell
code: |
C:\mongodb\bin\mongod.exe --dbpath "d:\test\mongo db data"
post: |
You may also specify the ``dbpath`` in a :doc:`configuration file
</reference/configuration-options>`.
---
title: Start MongoDB.
stepnum: 2
Expand Down Expand Up @@ -51,28 +54,11 @@ stepnum: 3
ref: connect
pre: |
To connect to MongoDB through the :program:`mongo.exe <mongo>` shell,
open another :guilabel:`Command Prompt`. When connecting, specify the
data directory if necessary. This step provides several example
connection commands.
open another :guilabel:`Command Prompt`.
action:
- pre: |
If your MongoDB installation uses the default data directory,
connect without specifying the data directory:
language: powershell
code: |
C:\mongodb\bin\mongo.exe
- pre: |
If you installation uses a different data directory, specify the
directory when connecting, as in this example:
language: powershell
code: |
C:\mongodb\bin\mongod.exe --dbpath d:\test\mongodb\data
- pre: |
If your path includes spaces, enclose the entire path in double
quotes. For example:
language: powershell
code: |
C:\mongodb\bin\mongod.exe --dbpath "d:\test\mongo db data"
post: |
If you want to develop applications using .NET, see the documentation
of :ecosystem:`C# and MongoDB </drivers/csharp>` for more information.
Expand Down