1 2 3
select variable_value from information_schema.global_variables where variable_name="log_error"; variable_value