HOW INPUT PROMPTS WORK
Every installer script uses the same handful of prompt patterns. Learn these once and both reference tables below become easy to read.
|
PATTERN |
EXAMPLE |
WHAT TO DO |
|
Yes/No prompt |
Install MongoDB? [Y/n] |
The capital letter is the default. Press Enter to accept it, or type y/n. |
|
Text prompt with a default |
SQL Host (e.g. sql01) [SERVER01] |
Press Enter to accept the bracketed default, or type your own value. |
|
Text prompt, no default |
SMTP host/IP: |
Required — the installer will keep re-asking (or error) until you provide a value. |
|
Password prompt |
MongoDB admin password [s3cret003] |
Input is masked. Press Enter to accept the built-in default, or type your own. Change these from their defaults for any real deployment. |
|
Numbered menu |
1) Windows 2) Linux |
Type the number and press Enter. |
|
"Reuse saved value?" prompt |
SQL SA password exists. Reuse? [Y/n] |
Only appears on a re-run, when a previous answer is already stored in state. Say No to re-enter it. |
|
Validated-connection retry |
(after entering DB config) |
The installer tests the connection live. On failure it re-prompts, up to 3 attempts, then offers to continue without a validated connection (default: No). |
One detail worth flagging for the docs: several defaults are shared, default service credentials are baked in, these can be overridden during installation