Linux 下卸载MySQL Enterprise Monitor

    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

时间: 2024-09-14 03:23:30

Linux 下卸载MySQL Enterprise Monitor的相关文章

Linux 下卸载MySQL 5

    对于在Linux下通过rpm方式的mysql,我们可以通过移除这些rpm包以及删除项目的目录来达到卸载的目的.本文演示了在SUSE Linux 10下下载MySQL 5.5.37.具体见下文.   1.环境#OS环境SZDB:~ # cat /etc/issue Welcome to SUSE Linux Enterprise Server 10 SP3 (x86_64) - Kernel \r (\l). #查看已安装的安装包SZDB:~ # rpm -qa | grep -i mys

Linux平台卸载MySQL总结

    如何在Linux下卸载MySQL数据库呢? 下面总结.整理了一下Linux平台下卸载MySQL的方法. MySQL的安装主要有三种方式:二进制包安装(Using Generic Binaries).RPM包安装.源码安装.对应不同的安装方式,卸载的步骤有些不同.文章中如有不足或不对的地方,敬请指出或补充!   RPM包安装方式的MySQL卸载   1: 检查是否安装了MySQL组件. [root@DB-Server init.d]# rpm -qa | grep -i mysql   M

安装MySQL Enterprise Monitor

    MySQL Enterprise Monitor是专门为MySQL数据库而设计的一款企业级监控,能非常好地与MySQL各方面特性相结合,包括:MySQL的关键性能指标.主机.磁盘.备份.新特性相关以及各种场景下的架构配置,并支持从单节点到海量节点部署的环境.它不仅能够全面地监控MySQL的运行状态,还能及时发现潜在的问题并给出优化建议.本文描述了MySQL Enterprise Monitor的安装过程.   1.安装需求 General Platform Recommendations

linux下安装mysql的问题解决

今天试了下在Linux下安装mysql,我只选了server和client两个组件,没有装其他的组件. 安装包的下载可以参见 http://www.mysql.com/downloads/ server端的安装: [root@oel2 install_mysql]# rpm -ivh MySQL-server-advanced-5.6.14-1.rhel5.i386.rpm Preparing...                #################################

Linux下keepalived+mysql 实现高可用

Linux下keepalived+mysql实现高可用 首先在搭建前分析,想用keepalived实现mysql高可用,那么先的对keepalived+lvs跟mysql主主复制有所了解.因为mysql+keepalived架构是在keepalived+lvs跟mysql主主复制的基础上实现的lvs+keepalived跟mysql主主复制,在前面的博文中已经介绍过了这里不啰嗦了. lvs+keepalived链接:http://duyunlong.blog.51cto.com/1054716/

Linux下安装MySql+Apache2+PHP5.3.1教程

Linux下安装MySql+Apache2+PHP5.3.1教程 请先下载下面三个安装必要的软件   01-04php-5.3.1.tar.gz.html">php-5.3.1.tar.gz安装包下载 01-04httpd-2.2.14.tar.gz 安装包下载 01-04mysql-5.1.42-linux-i686-glibc23.tar.gz.html">mysql-5.1.42-linux-i686-glibc2   一.安装apache2-------------

Linux下安装MySQL出现“ls: /var/lib/mysql/*.pid: 没有那个文件或目录”

环境 RedHat Linux 9 + VWWare 8.0 + SSH 3.2.9 + Putty 0.62 + MySQL 3.2 + MySQL 5.5 问题 Linux下安装MySQL出现如下错误: warning: MySQL-server-5.5.28-1.linux2.6.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 Preparing... ##########################################

php在linux下检测mysql同步状态的方法

 这篇文章主要介绍了php在linux下检测mysql同步状态的方法,是Linux下使用php检测mysql同步状态的实用技巧,具有一定参考借鉴价值,需要的朋友可以参考下     本文实例讲述了php在linux下检测mysql同步状态的方法.分享给大家供大家参考.具体分析如下: 这里通过两个实例来介绍mysql同步状态检测实现方法.代码如下: 代码如下: #!/bin/sh #check MySQL_Slave Status #crontab time 00:10 MYSQL_USER="ro

Linux下忘记mysql密码该如何修改mysql密码_Linux

初始密码为空,使用空密码登陆mysql执行下列语句 mysql>use mysql; mysql> UPDATE user SET password=PASSWORD("root") WHERE user='root'; mysql> FLUSH PRIVILEGES; mysql> quit; 修改/opt/lampp/phpmyadmin/config.inc.php 找到如下代码: $cfg['Servers'][$i]['auth_type'] = 'c