| 1 |
select @@global.max_digest_length; |
| 2 |
@@global.max_digest_length |
| 3 |
1024 |
| 4 |
select @@session.max_digest_length; |
| 5 |
ERROR HY000: Variable 'max_digest_length' is a GLOBAL variable |
| 6 |
show global variables like 'max_digest_length'; |
| 7 |
Variable_name Value |
| 8 |
max_digest_length 1024 |
| 9 |
show session variables like 'max_digest_length'; |
| 10 |
Variable_name Value |
| 11 |
max_digest_length 1024 |
| 12 |
select * from information_schema.global_variables |
| 13 |
where variable_name='max_digest_length'; |
| 14 |
VARIABLE_NAME VARIABLE_VALUE |
| 15 |
MAX_DIGEST_LENGTH 1024 |
| 16 |
select * from information_schema.session_variables |
| 17 |
where variable_name='max_digest_length'; |
| 18 |
VARIABLE_NAME VARIABLE_VALUE |
| 19 |
MAX_DIGEST_LENGTH 1024 |
| 20 |
set global max_digest_length=1; |
| 21 |
ERROR HY000: Variable 'max_digest_length' is a read only variable |
| 22 |
set session max_digest_length=1; |
| 23 |
ERROR HY000: Variable 'max_digest_length' is a read only variable |