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