As of MySQL 5.7.5, the Performance Schema provides a
that exposes user-defined variables. These are variables
defined within a specific session and include a
@ character preceding the name; see
Section 9.4, “User-Defined Variables”.
table contains these columns:
The thread identifier of the session in which the variable was defined.
The variable name, without the leading
The variable value.