MySQL
Logs Collected
The logs collected for MySQL are the General, Error, and Slow Query logs. The examples below include an aborted connection to a database from the Error logs and several query related logs from the General logs.
Supported Versions
MySQL: 5.6.x, 5.7.x, 8.x
Log Collection Setup
Follow these steps to set up log collection from MySQL.
Pre-requisites
Locate the local MySQL log file locations.
MySQL Log Files
For more information on MySQL log files, click here.
Configure a MySQL Source
- Install the BindPlane Log Agent on the host system.
- Login to BindPlane and select the Logs tab.
- Select the Sources tab.
- In the top-right portion of the screen, click on the Add Source Configuration button
- Choose MySQL
- Fill out the MySQL log configuration options.
Choose the log types to collect from, and ensure the path is correct.
Updated over 4 years ago