MySQL 9.1.0
Source Code Documentation
Services Introduction

The service mysql_global_variable_attributes exposes the set of methods to:

  • read value of an attribute assigned to a given GLOBAL system variable, if such attribute exists
  • assign an attribute to a given variable
  • remove one or all attributes of a given variable
  • helper methods to read timestamp and user name related to last system variable change

Another service mysql_global_variable_attributes_iterator supports dynamic attribute data discoverability by giving an ability to iterate all attributes of a given GLOBAL system variable.

As an alternative to this interface, the same data is being exported in the following table within the performance_schema database:

  • global_variable_attributes