Fill in your password
Replace $YOUR_PASSWORD with password of your choice.
What you would like to collect from your MySQL?
Collect logs and metrics from your MySQL instance using Vector and Prometheus mysqld exporter.
Create a dedicated MySQL user for Vector to securely scrape metrics:
Replace $YOUR_PASSWORD with password of your choice.
Create /etc/mysqld_exporter.cnf config file using MySQL user password you've just set:
Install latest mysqld exporter:
Start the MySQL exporter:
Select your platform:
Install and configure Vector on Ubuntu or Debian:
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack → Live tail.
Collect logs from your MySQL database using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack → Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Find step-by-step instructions in our dedicated Vector guide.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.