Percona MySQL Configuration

This page covers configuration options specific to the Percona Server distribution of MySQL

secure_log_path

Default: NULL
Suggested: /var/log

If set, then the MySQL General Log and MySQL Slow Query Log can only be set to a file in the directory specified. The motivation for setting this variable is that, without it, these log files can be redirected to any file writable by MySQL, including any of the data files, thus leading to corruption.

SELECT @@secure_log_path;

Bibliography