Uninstall MySQL Enterprise Monitor and mysqlenterprise in Linux
MySQL Enterprise Monitor is an Enterprise-level monitoring designed specifically for MySQL databases. It can be well integrated with various MySQL features, including: mySQL's key performance indicators, hosts, disks, backups, new features, and architecture configurations in various scenarios. It also supports environments deployed from a single node to a massive number of nodes. It not only comprehensively monitors the running status of MySQL, but also promptly discovers potential problems and provides optimization suggestions. The installation and uninstallation of MySQL Enterprise Monitor are also lightweight and easy to use. This document describes how to uninstall MySQL Enterprise Monitor.
For how to install MySQL Enterprise Monitor, see:
Install MySQL Enterprise Monitor
1. Check the configuration information of the current MySQL Enterprise Monitor.
### View the currently running process and obtain the installation path
# Ps-ef | grep mysqld | grep monitor
### View the configuration information. The current installation path is as follows:
# 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. Uninstall the Enterprise Monitor agent
### Stop the agent client process
#/Etc/init. d/mysql-monitor-agent stop
Shutting down MySQL Enterprise Agent service... [OK]
### Change the directory to the agent installation location
# Cd/opt/mysql/enterprise/agent
# Ls
Bin configuration_report.txt doc etc java lib licenses logs spool uninstall. dat
### Uninstall the agent client
#./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. Uninstall Enterprise Monitor
### Stop the Enterprise Monitor process
#/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:
### Check whether a process exists
# Ps-ef | grep mysql-monitor
Root 14572 6544 0 00:00:00 pts/4 grep mysql-monitor