Updated on 2025-10-23 GMT+08:00

session_variables

The session_variables view displays the system variable values that are valid for the current connection. This view is read-only. All users have the read permission on this view.

Table 1 information_schema.session_variables columns

Name

Type

Description

VARIABLE_NAME

varchar(64)

Name of a variable.

VARIABLE_VALUE

varchar(1024)

Value of a variable.