Comments - SQL Error Log Plugin

4 years, 9 months ago Nicolas Payart

How can I set sql_error_log_filename without restarting the service?

Using SET GLOBAL fails:

MariaDB [mysql]> SET GLOBAL sql_error_log_filename = '/var/log/mysql/sql_errors.log';

ERROR 1238 (HY000): Variable 'sql_error_log_filename' is a read only variable

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.