The secure_log_path variable¶
Use system variables to configure the server operation.
Implemented in Percona Server for MySQL 8.0.28-19 (2022-05-12).
This variable restricts the dynamic log file locations. The variable is read-only and must be set up in a configuration file or the command line.
The accepted value is the directory name as a string. The default value is an empty string. When the value is an empty string, the variable only adds a warning to the error log and does nothing. If the value contains a directory name, then the slow query log and the general log must be located in that directory. An attempt to move either of these files outside of the specified directory results in an error.
Get expert help¶
If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.