To view all the options available for an unattended
agent installation, invoke the agent
installer file passing in the help
option.
(Under Windows you must redirect the output to a file. You
should see a listing similar to the following:
The exact options may vary depending on the operating system on which you are executing the installer.
Usage: --help Display the list of valid options --version Display product information --optionfile <optionfile> Installation option file Default: --unattendedmodeui <unattendedmodeui> Unattended Mode UI Default: none Allowed: none minimal minimalWithDialogs --mode <mode> Installation mode Default: osx Allowed: osx text unattended --debugtrace <debugtrace> Debug filename Default: --installer-language <installer-language> Language selection Default: Allowed: en ja --installdir <installdir> Installation directory Default: --mysqlconnmethod <mysqlconnmethod> Default: tcpip Allowed: tcpip socket --mysqlhost <mysqlhost> MySQL hostname or IP address Default: 127.0.0.1 --checkmysqlhost <checkmysqlhost> Validate MySQL hostname or IP address Default: yes --mysqlport <mysqlport> MySQL Port Default: 3306 --mysqlsocket <mysqlsocket> MySQL Socket Default: --mysqluser <mysqluser> MySQL Username Default: --mysqlpassword <mysqlpassword> Password for mysql user Default: --enableproxy <enableproxy> Enable Proxy (recommended) Default: 1 --proxyport <proxyport> Proxy Port Default: 6446 --managerhost <managerhost> Hostname or IP address Default: --managerport <managerport> Tomcat Server Port Default: 18080 --managersslport <managersslport> Tomcat SSL Port Default: 18443 --usessl <usessl> Use SSL? Default: 0 --agentuser <agentuser> Agent Username Default: agent --agentpassword <agentpassword> Agent Password Default: --proxyuser <proxyuser> User Account Default: root
The options and their effect on installation are detailed below:
--help
Display the list of valid options
--version
Display product information, including the version number of the installer.
--optionfile <optionfile>
Specify the location of an option file containing the configuration options for this installation.
--unattendedmodeui
<unattendedmodeui>
The UI elements to use when performing an unattended
installation. The options are none
, show
now UI elements during the installation;
minimal
, show minimal elements during
installation; minimalWithDialogs
, show
minimal UI elements, but include the filled-dialog boxes.
The default is none
.
--mode <mode>
Specify the installation mode to use for this installation.
--debugtrace <debugtrace>
Set the filename to use when recording debug information during the installation.
--installer-language
<installer-language>
Set the language to be used for the installer.
--installdir <installdir>
Specify the directory where the software will be installed.
The default on Windows is C:\Program
Files\MySQL\Enterprise\Agent
The default on Unix is
/opt/mysql/enterprise/agent/
The default on Mac OS X is
/Applications/mysql/enterprise/agent/
--mysqlconnmethod <mysqlconnmethod>
Specify the connection method to use to connect to MySQL.
Options are tcpip
and
socket
.
The default is tcpip
.
--mysqlhost <mysqlhost>
MySQL hostname or IP address
The default is 127.0.0.1.
--checkmysqlhost <checkmysqlhost>
Validate the MySQL hostname or IP address
The default is yes
.
--mysqlport <mysqlport>
Specify the TCP/IP port to use when connecting to MySQL.
The default is 3306.
--mysqlsocket <mysqlsocket>
Specify the filename of the MySQL socket to use when communicating with the monitored MySQL instance.
--mysqluser <mysqluser>
Specify the username to use when connecting to the MySQL instance.
--mysqlpassword <mysqlpassword>
Specify the password to use when connecting to the MySQL instance.
--enableproxy <enableproxy>
Enable the Proxy. This is recommended and is required if you want to use Query Analyzer.
The default is 1 (use the proxy).
--proxyport <proxyport>
Specify the TCP/IP port to use for the proxy interface.
The default is 6446.
--managerhost <managerhost>
The hostname or IP address of the MySQL Enterprise Service Manager.
--managerport <managerport>
The port number of the MySQL Enterprise Service Manager.
The default is 18080.
--managersslport <managersslport>
The port number of the MySQL Enterprise Service Manager for SSL-based communication
The default is 18443.
--usessl <usessl>
Specifies whether SSL should be used to communicate with the MySQL Enterprise Service Manager.
--agentuser <agentuser>
Specify the agent username to be used when communicating with the MySQL Enterprise Service Manager.
--agentpassword <agentpassword>
Specify the agent password to be used when communicating with the MySQL Enterprise Service Manager.
--proxyuser <proxyuser>
The user account for the proxy server.
The default is root
.