2.3.3.4 MySQLInstallerConsole Reference

MySQLInstallerConsole.exe provides command-line
functionality that is similar to MySQL Installer. It is installed when MySQL Installer
is initially executed and then available within the
MySQL Installer directory. Typically, that is
in C:\Program Files (x86)\MySQL\MySQL
Installer\, and the console must be executed with
administrative privileges.

To use, invoke the command prompt with administrative privileges
by choosing Start,
Accessories, then right-click on
Command Prompt and choose Run as
administrator. And from the command line, optionally
change the directory to where
MySQLInstallerConsole.exe is located:

C:\> cd Program Files (x86)\MySQL\MySQL Installer for Windows
C:\Program Files (x86)\MySQL\MySQL Installer for Windows> MySQLInstallerConsole.exe help
=================== Start Initialization ===================
MySQL Installer is running in Community mode
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 11/1/2016 4:10:38 PM
=================== End Initialization ===================
The following commands are available:
Configure - Configures one or more of your installed programs.
Help - Provides list of available commands.
Install - Install and configure one or more available MySQL programs.
List - Provides an interactive way to list all products available.
Modify - Modifies the features of installed products.
Remove - Removes one or more products from your system.
Status - Shows the status of all installed products.
Update - Update the current product catalog.
Upgrade - Upgrades one or more of your installed programs.

Install one or more MySQL products on your system. If
pre-release products are available, both GA and pre-release
products are installed when the value of the
-type switch is
Developer, Client, or
Full. Use the
-only_ga_products switch to restrict the
product set to GA products only when using these setup types.

Switches and syntax options include:

-only_ga_products : Restricts the
product set to include GA products only.

-type=[SetupType] : Installs a
predefined set of software. The "SetupType" can be one of
the following:

Note

Non-custom setup types can only be chosen if no other
MySQL products are installed.

Developer: Installs a
complete development environment.

Server: Installs a
single MySQL server

Client: Installs
client programs and libraries

Full: Installs
everything

Custom: Installs user
selected products. This is the default option.

-showsettings : Displays the available
options for the selected product, by passing in the
product name after -showsettings.

-silent : Disable confirmation prompts.

[config block]: One or more
configuration blocks can be specified. Each configuration
block is a semicolon separated list of key value pairs. A
block can include either a "config" or "user" type key,
where "config" is the default type if one is not defined.

Configuration block values that contain a colon character
(:) must be wrapped in double quotes.
For example, installdir="C:\MySQL\MySQL Server
8.0".

Only one "config" type block can be defined per product. A
"user" block should be defined for each user that should
be created during the product's installation.

Note

Adding users is not supported when a product is being
reconfigured.

[feature]: The feature block is
a semicolon separated list of features, or an asterisk
character (*) to select all features.