On Microsoft Windows 7 and 8, remove MySQL Enterprise Service Manager by opening the Control Panel and choosing Uninstall a Program. Locate the entry for MySQL Enterprise Monitor and select Uninstall from the Control Panel toolbar.
On Microsoft Windows 10, remove MySQL Enterprise Service Manager by opening Settings and selecting Apps & Features. Locate the entry for MySQL Enterprise Monitor and select Uninstall.
The uninstall process prompts you to save existing data and log files. Choose this option if you plan to reinstall at a later time.
If you do not want to backup the data, you can delete the
C:\Program Files\MySQL\Enterprise\Monitor
directory after removing MySQL Enterprise Service Manager.
If you want to retain the backup, do not remove the
C:\Program Files\MySQL\Enterprise\Monitor
directory. Doing so will delete these files.
On Microsoft Windows 7 and 8, remove MySQL Enterprise Monitor Agent by opening the Control Panel and choosing Uninstall a Program. Locate the entry for MySQL Enterprise Monitor Agent and select Uninstall from the Control Panel toolbar.
On Microsoft Windows 10, remove MySQL Enterprise Monitor Agent by opening Settings and selecting Apps & Features. Locate the entry for MySQL Enterprise Monitor Agent and select Uninstall.
To remove only one of the agents from a machine hosting
several agents, do not remove the MySQL Enterprise
Monitor Agent
entry from the Add or Remove
Programs
menu. To remove a single agent, see
Removing a
Single Agent.
Removing MySQL Enterprise Monitor Agent automatically deletes its associated
.log
and .pid
files.
After removing the Monitor Agent, you might need to remove the
directories, C:\Program
Files\MySQL\Enterprise
and C:\Program
Files\MySQL\Enterprise\Agent
.
Removing MySQL Enterprise Monitor Agent in this way also removes the agent service. If you are running additional agents on the same server, you must remove them agents manually. See Removing a Single MySQL Enterprise Monitor Agent for instructions on uninstalling individual agents.
To remove only one of the agents from a machine that is running
several agents, do not remove the
MySQL Enterprise Monitor Agent
entry from the Add or
Remove Programs
menu. To remove a single agent, do the
following:
Stop the agent.
You must stop the agent before attempting to remove it; for instructions on stopping an agent see, Section 6.5.1, “Starting/Stopping the Agent on Windows”.
Confirm the location of the log files.
To confirm the location of the agent log files, check the
ini
file.Remove the agent as a service. This can only be done from the command line.
Remove MySQL Enterprise Monitor Agent as a Windows service with the following command:
$> sc delete AgentName
NoteTo find the AgentName, from the Services pane of the Microsoft Management Console, open the Properties page for the MySQL Enterprise Monitor Agent service. The Service name field on the General tab contains the required value.
To confirm the agent has been removed, check the Services pane of the Microsoft Management Console.
Remove or archive any log or configuration files associated with the agent.