Linux 下卸载MySQL Enterprise Monitor

本文涉及的产品
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
简介:     MySQL Enterprise Monitor是专门为MySQL数据库而设计的一款企业级监控,能非常好地与MySQL各方面特性相结合,包括:MySQL的关键性能指标、主机、磁盘、备份、新特性相关以及各种场景下的架构配置,并支持从单节点到海量节点部署的环境。
    MySQL Enterprise Monitor是专门为MySQL数据库而设计的一款企业级监控,能非常好地与MySQL各方面特性相结合,包括:MySQL的关键性能指标、主机、磁盘、备份、新特性相关以及各种场景下的架构配置,并支持从单节点到海量节点部署的环境。它不仅能够全面地监控MySQL的运行状态,还能及时发现潜在的问题并给出优化建议。MySQL Enterprise Monitor的安装和卸载也属于轻量级,相当的简单易用。本文描述了MySQL Enterprise Monitor的卸载过程。

    有关MySQL Enterprise Monitor的安装请参考:
        安装MySQL Enterprise Monitor

1、检查当前MySQL Enterprise Monitor 的配置信息
###查看当前运行的进程,并获取安装路径
# ps -ef|grep mysqld|grep monitor

###查看配置信息,当前的安装路径如下:
# cd /dbdata/mysql/enterprise/monitor
# more configuration_report.txt
MySQL Enterprise Monitor (Version 3.0.15.3058 : 3.0.15.3058)

Here are the settings you specified:
Application hostname and port: https://127.0.0.1:18443
Tomcat Ports: 18080 - 18443 (SSL)
MySQL Port : 13306

Use the following command to login to the MySQL Enterprise Monitor database:
mysql -u**** -p**** -P13306 -hlocalhost

# ls
apache-tomcat  configuration_report.txt  images  licenses  mysqlmonitorctl.sh  README_ja.txt  uninstall      version.txt
bin            etc                       java    mysql     README_en.txt       support-files  uninstall.dat

2、卸载Enterprise Monitor agent

###停止agent客户端进程
# /etc/init.d/mysql-monitor-agent stop
Shutting down MySQL Enterprise Agent service...[  OK  ]

###改变目录到agent安装位置
# cd  /opt/mysql/enterprise/agent
# ls
bin  configuration_report.txt  doc  etc  java  lib  licenses  logs  spool  uninstall  uninstall.dat

###卸载agent客户端
# ./uninstall
Do you want to uninstall MySQL Enterprise Monitor Agent and all of its modules? [Y/n]: y

----------------------------------------------------------------------------
Uninstall Status

 Uninstalling MySQL Enterprise Monitor Agent
 0% ______________ 50% ______________ 100%
 #########################################

Info: Uninstallation completed

3、卸载Enterprise Monitor

###停止Enterprise Monitor进程
# /etc/init.d/mysql-monitor-server stop
# pwd
/dbdata/mysql/enterprise/monitor
# ./uninstall
Do you want to uninstall MySQL Enterprise Monitor and all of its modules? [Y/n]: y

----------------------------------------------------------------------------
Uninstall Status

Do you also want to remove all data, logs and other files in the MySQL and Tomcat instances under
'/dbdata/mysql/enterprise/monitor'?

Caution, this will remove all user created files, even if they were present before installing MySQL Enterprise Monitor, including the data files of the bundled MySQL server. You will *not* be able to undo this action. Do not remove files if you plan to install an update.

Do you really want to remove ALL data and log files inside those directories?
 [y/N]: y

 Uninstalling MySQL Enterprise Monitor
 0% ______________ 50% ______________ 100%
 #########################################

Info: Uninstallation completed
Press [Enter] to continue :

###检查进程是否存在
# ps -ef|grep mysql-monitor
root     14572  6544  0 14:25 pts/4    00:00:00 grep mysql-monitor
相关实践学习
基于CentOS快速搭建LAMP环境
本教程介绍如何搭建LAMP环境,其中LAMP分别代表Linux、Apache、MySQL和PHP。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
目录
相关文章
|
10天前
|
关系型数据库 MySQL 数据库
mysql卸载、下载、安装(window版本)
mysql卸载、下载、安装(window版本)
|
1月前
|
安全 Linux 网络安全
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
88 0
|
27天前
|
Shell Linux C语言
【Shell 命令集合 系统设置 】⭐Linux 卸载已加载的内核模块rmmod命令 使用指南
【Shell 命令集合 系统设置 】⭐Linux 卸载已加载的内核模块rmmod命令 使用指南
29 1
|
27天前
|
Linux Shell 文件存储
【Shell 命令集合 系统设置 】Linux 加载和卸载内核模块 modprobe命令 使用指南
【Shell 命令集合 系统设置 】Linux 加载和卸载内核模块 modprobe命令 使用指南
36 1
|
9天前
|
关系型数据库 MySQL Linux
linux CentOS 7.4下 mysql5.7.20 密码改简单的方法
linux CentOS 7.4下 mysql5.7.20 密码改简单的方法
17 0
|
11天前
|
关系型数据库 MySQL 数据库
卸载云服务器上的 MySQL 数据库
卸载云服务器上的 MySQL 数据库
30 0
|
1天前
|
存储 关系型数据库 MySQL
Linux | MySQL基础
Linux | MySQL基础
|
2天前
|
关系型数据库 MySQL Linux
Linux联网安装MySQL Server
Linux联网安装MySQL Server
10 0
|
17天前
|
Linux Docker 容器
Linux彻底卸载Docker包括运行拉取的镜像
Linux彻底卸载Docker包括运行拉取的镜像
21 1
|
22天前
|
Java Linux Shell
linux卸载jdk
linux卸载jdk
34 0