C.1.6 Using The Service Monitor Repository Configuration Script

The config.sh / config.bat script is used to configure the MySQL Server Repository for the Service Monitor. Its default location:

Table C.7 MEM Repository Configuration Tool Location (default)

Operating SystemPath
Microsoft WindowsC:\Program Files\MySQL\Enterprise\Monitor\bin\config.bat
Linux / Solaris/opt/mysql/enterprise/monitor/bin/config.sh
Mac OS X/Applications/mysql/enterprise/monitor/bin/config.sh

Use --help to view its options:


bin/config.sh --help
Usage: java com.mysql.etools.agent.runtime.Main [options], where options are:

Option Description
------ -----------
--help Prints this usage message
--md, --mysql-db     MySQL database for the Service Manager repository
--mp, --mysql-port   MySQL port for the Service Manager repository
--ms, --mysql-server MySQL server for the Service Manager repository
--mu, --mysql-user   MySQL username for the Service Manager repository
-v,   --version      Displays the version of the agent and components

An example use case is to move the MySQL Enterprise Service Manager Repository to its own host, as described under Tuning Performance: CPU.