Skip to content

Mysql Exporter

"Mysql Exporter" is a package that facilitates the extraction of data from a MySQL database. To use the Mysql Exporter, you typically need to define various variables or configuration settings.Here are some common variables or configurations you might need when using Mysql Exporter:

HOST: The hostname or IP address of the MySQL server.
PORT: The port number on which MySQL is running (usually 3306).
USER: The username to connect to the MySQL database.
PASS: The password associated with the specified user.
DB: The name of the database from which you want to export data.

Example:

HOST:my-mariadb.database.svc
PORT:3306
USER:root
PASS:ARnE7Jrx6f 
DB:my_database

How to install mysql-exporter on cluster ?

helm install my-prometheus-mysql-exporter prometheus-community/prometheus-mysql-exporter --version 2.0.0 --set mysql.host=$HOST,mysql.port=$PORT,mysql.user=$USER,mysql.pass=$PASS,mysql.db=$DB