SHOW DEFAULT SESSION VARIABLES FOR ROLE lists the values for updated that are applied to a given .
The results returned only include the values of session variables that are changed from the defaults. When no session variables have been changed from the defaults for a given role, the statement returns no values.
Synopsis
Parameters
| Parameter | Description |
|---|---|
FOR {role\_or\_group\_or\_user} | The whose updated should be displayed. |
FOR ROLE ALL | Denotes that changes to default across all should be displayed. |
FOR USER ALL | Alias for FOR ROLE ALL. |
Response
| Column | Description |
|---|---|
session\_variables | The name of the that has had its default value changed. |
default\_values | The updated value of the . |
database | The where the change to the session variable will be applied. |
inherited\_globally | Whether the change to the variable’s value is applied to all users. For more information, see . |
Required Privileges
The issuing this statement must have at least one of the following :CREATEROLEMODIFYCLUSTERSETTINGMODIFYSQLCLUSTERSETTING

