mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
22 lines
689 B
Text
22 lines
689 B
Text
|
select @@global.init_file;
|
||
|
@@global.init_file
|
||
|
NULL
|
||
|
select @@session.init_file;
|
||
|
ERROR HY000: Variable 'init_file' is a GLOBAL variable
|
||
|
show global variables like 'init_file';
|
||
|
Variable_name Value
|
||
|
init_file
|
||
|
show session variables like 'init_file';
|
||
|
Variable_name Value
|
||
|
init_file
|
||
|
select * from information_schema.global_variables where variable_name='init_file';
|
||
|
VARIABLE_NAME VARIABLE_VALUE
|
||
|
INIT_FILE
|
||
|
select * from information_schema.session_variables where variable_name='init_file';
|
||
|
VARIABLE_NAME VARIABLE_VALUE
|
||
|
INIT_FILE
|
||
|
set global init_file=1;
|
||
|
ERROR HY000: Variable 'init_file' is a read only variable
|
||
|
set session init_file=1;
|
||
|
ERROR HY000: Variable 'init_file' is a read only variable
|