MySQL Enterprise Monitor is a business-class monitor designed specifically for MySQL databases, and is well-integrated with MySQL features, including key performance metrics for MySQL, host, disk, backup, new feature-related, and architecture configuration in a variety of scenarios. and supports environments from single-node to mass-node deployments. It not only can monitor the running status of MySQL comprehensively, but also can detect potential problems and give optimization suggestions in time. The installation and uninstallation of MySQL Enterprise Monitor is also lightweight and fairly simple to use. This article describes the uninstallation process for MySQL Enterprise Monitor.
For installation of MySQL Enterprise Monitor, please refer to:
installing MySQL Enterprise Monitor
1. Check the configuration information of the current MySQL Enterprise Monitor
# # #查看当前运行的进程, and get the installation path
# Ps-ef|grep Mysqld|grep Monitor
# # #查看配置信息, 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 is 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. Uninstalling 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. Uninstalling Enterprise Monitor
# # #停止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
Also want to remove all data, logs and other files in the MySQL and Tomcat instances under
'/dbdata/mysql/enterprise/monitor '?
Caution, this would remove all user created files, even if they were present before installing MySQL Enterprise Monitor, in Cluding the data files of the bundled MySQL server. You'll *not* be able to the undo this action. Do not remove the 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
Linux under uninstall MySQL Enterprise Monitor