11.3 无人值守卸载

本节介绍如何将 MySQL Enterprise Service Manager 和 MySQL Enterprise Monitor Agent 作为无人值守进程卸载。可以从命令行运行无人值守的卸载。

MySQL Enterprise Service Manager 和 MySQL Enterprise Monitor Agent 都有相同的卸载选项。要显示这些选项,请从命令行uninstall使用选项运行安装目录中的文件--help

以下选项可用:

表 11.1 MySQL Enterprise Monitor 卸载程序选项

选项 描述

--help

显示选项列表。

--version

显示产品名称和版本。

--debuglevel <debuglevel>

设置卸载日志的详细程度。0 最低,4 最高,2 是默认值。

--mode <mode>

设置卸载模式。这因平台而异。例如,在基于 Linux 的系统上,您可以选择带有 的基于 GUI 的卸载程序--mode gtk,或者选择带有 的纯文本、基于控制台的卸载程序--mode text

以下是可用的基于 GUI 的卸载选项的列表:

  • 视窗:Win32

  • 操作系统:osx

  • 索拉里斯:xwindow

  • Linux:(gtk默认)和 xwindow.

--mode还可以启动文本模式和无人值守卸载。

  • --mode text:启动纯文本、基于控制台的卸载过程。基于文本的卸载在 Windows 平台上不可用。

  • --mode unattended: starts an unattended uninstallation.

--debugtrace <debugtrace>

Sets the path and filename of the uninstallation log file.

--installer-language

Sets the language of the uninstallation. Possible values are:

  • en: English. Default value.

  • ja: Japanese.


Unattended Uninstallation

To run an unattended uninstallation process, in which no dialogs, prompts or warnings are displayed, run the following command in the installation directory of your MySQL Enterprise Service Manager or MySQL Enterprise Monitor Agent:

  $>./uninstall --mode unattended