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