15.6.2.6. Starting/Stopping the MySQL Enterprise Monitor Service on Windows

You can choose to start up the MySQL Enterprise Service Manager on installation. The corresponding Windows services are called:

  • MySQL Enterprise Tomcat

  • MySQL Enterprise MySQL

You can stop or start these services from the Microsoft Management Console Services window.

Note

On Windows Vista or later, starting these services requires administrative privileges. To start or stop a service, right-click it and choose the Run as Administrator menu option. The same restriction applies to the pop-up menu options discussed in the following section, and to starting the services from the command line. To open an administrator cmd window, right-click the cmd icon and choose the Run as Administrator menu option.

To start or stop a service, right-click it and choose from the options in the pop-up menu.

To start or stop the services from the menu, navigate to the Program, MySQL, MySQL Enterprise Monitor, Services entry to stop or start the services.

to start the Tomcat service from the command line, type:

shell> sc start MySQLEnterpriseTomcat

or:

shell> net start MySQLEnterpriseTomcat

To stop this service type:

shell> sc stop MySQLEnterpriseTomcat

or:

shell> net stop MySQLEnterpriseTomcat

In similar fashion, you can stop or start the MySQL server from the command line. The service name is MySQLEnterpriseMySQL.

You can also start, stop, and restart a specific service or both services using the mysqlmonitorctl.bat file. To execute this file, go to the command line and navigate to the C:\Program Files\MySQL\Enterprise\Monitor directory. Typing mysqlmonitorctl.bat help produces the following output:

usage: mysqlmonitorctl.bat help
       mysqlmonitorctl.bat (start|stop|restart|install|uninstall)
       mysqlmonitorctl.bat (start|stop|restart) tomcat
       mysqlmonitorctl.bat (start|stop|restart) mysql

help       - this screen
start      - start the service(s)
stop       - stop the service(s)
restart    - restart or start the service(s)
install    - install the service(s)
uninstall  - uninstall the service(s)

To stop a specific service, pass the argument tomcat or mysql in addition to the status change argument. To change the status of both services, do not specify a service name. You can also uninstall the services using this batch file.

After the Service Manager is installed, you can configure the Dashboard, as explained in Section 15.6.2.7, “MySQL Enterprise Service Manager Configuration Settings and Advisor Installation”.

Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout