Documentation Home
MySQL Enterprise Monitor 3.4 Manual
Related Documentation Download this Manual

13.3 Mac OS Platforms

Removing MySQL Enterprise Service Manager

To remove the MySQL Enterprise Service Manager, run the uninstall.app located in the /Applications/mysql/enterprise/monitor/ directory, or the root directory of your MySQL Enterprise Service Manager installation.

During the uninstall process you are prompted to save existing data and log files. Choose this option if you plan to reinstall the MySQL Enterprise Monitor.

Warning

If you did not remove existing data and log files when uninstalling the MySQL Enterprise Monitor, do not remove the /Applications/mysql/enterprise/monitor directory; doing so will delete these files.

Removing MySQL Enterprise Monitor Agent

Before removing MySQL Enterprise Monitor Agent, stop any running agents by changing to the init.d directory and issuing the command:

shell> ./mysql-monitor-agent stop

Run the uninstall.app file located in the /Applications/mysql/enterprise/agent directory.

Removing the Monitor Agent automatically deletes its associated .log and .pid files. After uninstalling the MySQL Enterprise Monitor Agent, you can remove the /Applications/mysql/enterprise/agent directory.

Removing the MySQL Enterprise Monitor Agent this way removes the default service, and all the configuration files for different instances.

Removing a Single MySQL Enterprise Monitor Agent

To remove an individual agent from a machine running several agents, do not run the uninstall program. To remove a single agent and leave other agents intact, do the following:

  1. Stop the agent.

  2. Confirm the location of the log files.

  3. Remove the agent as a daemon.

  4. Remove/Archive associated files.

It is best to stop the agent before removing it; for instructions on stopping an agent, see Section 5.5.2, “Starting/Stopping the Agent on Mac OS X”.

To confirm the location of the agent log files, check the .ini file.

You can then remove the agent as a daemon by removing its entry in the init.d directory.

Also remove or archive any log or configuration files associated with this agent.

If you have installed any additional agents, remove them in the same way.