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