Removing the 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 will be given the option of saving existing data and log files. Choose this option if you plan to reinstall the MySQL Enterprise Monitor.
If you are not saving existing data, after uninstalling the
MySQL Enterprise Service Manager you may remove the
/Applications/mysql/enterprise/monitor
directory.
If you chose not to 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.
Prior to removal of the MySQL Enterprise Monitor Agent you should stop any agents.
Do this 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.
After uninstalling the MySQL Enterprise Monitor Agent you may remove the
/Applications/mysql/enterprise/agent
directory.
Removing the MySQL Enterprise Monitor Agent in this fashion will remove the default service, and all the configuration files for different instances.
If you are running more than one agent on the same machine and wish to remove only one of the agents, do not run the uninstall program.
To remove a single agent and leave other agents intact follow these steps:
Stop the agent
Confirm the location of the log files
Remove the agent as a daemon
Remove/Archive associated files
It is best to stop the agent before removing it; for instructions on stopping an agent see Section 2.3.5.2, “Starting/Stopping the Agent on Mac OS X”.
You can confirm the location of the agent log files by checking
the ini file. For more information on this topic see
Section 2.3.6.1, “MySQL Enterprise Monitor Agent (mysql-monitor-agent.ini
)
Configuration”.
You may then remove the agent as a daemon by removing its entry in
the init.d
directory.
You should 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 fashion.