Prometheus monitors mysql
This article mainly introduces how to use Prometheus to monitor mysql 1. Install and configure mariadb 1.1 Install mariadb #Simple and direct yum install mariadbyum -y install mariadb mariadb-serversystemctl start mariadb #Start mariadb systemctl enable mariadb #Set boot self-startmysql_secure_installation #Set root password and other related mysql -uroot -p root123 #Test login 1.2 Configure mariadb to create users for exporter # Create mysql_monitor user and grant permissions mysql> grant select, replication client, process ON *....