Spec-Zone .ru
спецификации, руководства, описания, API
|
MySQLInstallerConsole provides functionality similar to the GUI
version of MySQL Installer, but from the command-line. 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 Run as administrator
. And from the command-line, optionally change the
directory to where MySQLInstallerConsole
is located:
C:\> cd "C:\Program Files (x86)\MySQL\MySQL
Installer"
MySQLInstallerConsole supports the following options, which are specified on the command line:
Displays a help message with usage examples, and then exits.
C:\> MySQLInstallerConsole --help
Checks for new products before any further action is taken. Disabled by default.
Skips the final pause when the program finishes. Otherwise, a "Press Enter to
continue.
" dialogue is generated. It is used in conjunction with other options.
--catalog
=catalog_name
(or -c
)
Sets the default catalog. Use --list
to view a list of available
catalogs.
--type
=installation_type
(or -t
)
Sets the installation type.
The possible values for installation_type
are: developer, server,
client, full, and custom.
The action being performed.
The possible values are: install, remove, upgrade, list, and status.
install: Installs a product or products, as
defined by --products
upgrade: Upgrades a product or products, as
defined by --products
.
remove: Removes a product or products, as
defined by --products
.
list: Lists the product manifest, both installed and available products.
status: Shows the status after another action is performed.
--product
=product_name
[:feature1
],[feature2
],
[...] (or -p
)
Set the feature list of a product. Use --list
to view available
products, or pass in --product=*
(an asterisk) to install all available
products.
--config
=product_name
:passwd=root_password
[;parameter1=value
],[;parameter2=value
],
...
The configuration parameters for the most recently listed products.
--user
=product_name
:name=username
,host:hostname
,role=rolename
,password=password
or --user
=product_name
:name=username
,host:hostname
,role=rolename
,tokens=tokens
Creates a new user.
Requires: name, host, role, and the password or tokens. Tokens are separated by pipe ("|") characters.