This section describes how to control the MySQL Enterprise Service Manager services on UNIX, Linux and Mac platforms. Microsoft Windows supports several additional methods, which are described in Starting/Stopping the MySQL Enterprise Monitor Services on Windows.
The following services are installed by MySQL Enterprise Service Manager:
Access the MySQL Enterprise Service Manager services using the script
which is installed in the root of your MySQL Enterprise Service Manager
installation directory. To see the available options, run the
mysqlmonitorctl.sh help .
help parameter produces the following
shell>./mysqlmonitorctl.sh help ./mysqlmonitorctl.sh (start|stop|status|restart) ./mysqlmonitorctl.sh (start|stop|status|restart) mysql ./mysqlmonitorctl.sh (start|stop|status|restart) tomcat help - this screen start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) status - report the status of the service
To autostart all the Service Manager components, call the
mysqlmonitorctl.sh start from your start-up
To start the service:
shell> ./mysqlmonitorctl.sh start ./mysqlmonitorctl.sh : mysql started nohup: redirecting stderr to stdout Starting mysqld daemon with databases from /opt/mysql/enterprise/monitor/mysql/data/ Using CATALINA_BASE: /opt/mysql/enterprise/monitor/apache-tomcat Using CATALINA_HOME: /opt/mysql/enterprise/monitor/apache-tomcat Using CATALINA_TMPDIR: /opt/mysql/enterprise/monitor/apache-tomcat/temp Using JRE_HOME: /opt/mysql/enterprise/monitor/java
If you try to start the service and it is already running, you are warned that the services are already running.
restart command is equivalent to executing
stop and then
The Service Manager can take some time to start and become
This script can also check the status of the Tomcat web server or the MySQL repository.
shell> ./mysqlmonitorctl.sh status MySQL Network MySQL is running MySQL Network Tomcat is running
After the Service Manager is installed, you can configure the MySQL Enterprise Monitor User Interface, as explained in Section 4.5, “MySQL Enterprise Service Manager Configuration Settings”.
You can stop or start the MySQL Enterprise Service Manager services in the following additional ways:
The Start/Stop MySQL Enterprise Monitor Services items on the Windows Start menu.
The Services pane of the Microsoft Management Console. Right-click on the either of the MySQL Enterprise services to display the available options.
The Windows command line, using the
From the command line, the service names are mysqlenterprisetomcat and mysqlenterprisemysql.
shell> sc start mysqlenterprisemysqlNote
The command line terminal must be started using the Run as Administrator option.