SET @start_global_value = @@global.innodb_ft_server_stopword_table;
SELECT @start_global_value;
@start_global_value
NULL
select @@session.innodb_ft_server_stopword_table;
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable
show global variables like 'innodb_ft_server_stopword_table';
Variable_name	Value
innodb_ft_server_stopword_table	
show session variables like 'innodb_ft_server_stopword_table';
Variable_name	Value
innodb_ft_server_stopword_table	
select * from information_schema.global_variables where variable_name='innodb_ft_server_stopword_table';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_FT_SERVER_STOPWORD_TABLE	
select * from information_schema.session_variables where variable_name='innodb_ft_server_stopword_table';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_FT_SERVER_STOPWORD_TABLE	
set session innodb_ft_server_stopword_table='Salmon';
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable and should be set with SET GLOBAL
set @@session.innodb_ft_server_stopword_table='Salmon';
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_ft_server_stopword_table=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_ft_server_stopword_table'
set global innodb_ft_server_stopword_table=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_ft_server_stopword_table'
set global innodb_ft_server_stopword_table='Salmon';
ERROR 42000: Variable 'innodb_ft_server_stopword_table' can't be set to the value of 'Salmon'
SET @@global.innodb_ft_server_stopword_table = @start_global_value;
SELECT @@global.innodb_ft_server_stopword_table;
@@global.innodb_ft_server_stopword_table
NULL
