1# 2# only global 3# 4select @@global.ft_min_word_len; 5--error ER_INCORRECT_GLOBAL_LOCAL_VAR 6select @@session.ft_min_word_len; 7show global variables like 'ft_min_word_len'; 8show session variables like 'ft_min_word_len'; 9select * from information_schema.global_variables where variable_name='ft_min_word_len'; 10select * from information_schema.session_variables where variable_name='ft_min_word_len'; 11 12# 13# show that it's read-only 14# 15--error ER_INCORRECT_GLOBAL_LOCAL_VAR 16set global ft_min_word_len=1; 17--error ER_INCORRECT_GLOBAL_LOCAL_VAR 18set session ft_min_word_len=1; 19 20