# # only GLOBAL # SELECT @@GLOBAL.binlog_gtid_simple_recovery; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT @@SESSION.binlog_gtid_simple_recovery; SHOW GLOBAL VARIABLES LIKE 'binlog_gtid_simple_recovery'; SHOW SESSION VARIABLES LIKE 'binlog_gtid_simple_recovery'; --disable_warnings SELECT * FROM performance_schema.global_variables WHERE VARIABLE_NAME='binlog_gtid_simple_recovery'; SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME='binlog_gtid_simple_recovery'; --enable_warnings # # show that it's read-only # --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET GLOBAL binlog_gtid_simple_recovery=1; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET SESSION binlog_gtid_simple_recovery=1;