SELECT @@GLOBAL.binlog_gtid_simple_recovery;
@@GLOBAL.binlog_gtid_simple_recovery
0
SELECT COUNT(@@GLOBAL.binlog_gtid_simple_recovery);
COUNT(@@GLOBAL.binlog_gtid_simple_recovery)
1
SELECT COUNT(@@binlog_gtid_simple_recovery);
COUNT(@@binlog_gtid_simple_recovery)
1
SELECT @@SESSION.binlog_gtid_simple_recovery;
ERROR HY000: Variable 'binlog_gtid_simple_recovery' is a GLOBAL variable
SHOW GLOBAL VARIABLES LIKE 'binlog_gtid_simple_recovery';
Variable_name	Value
binlog_gtid_simple_recovery	OFF
SHOW SESSION VARIABLES LIKE 'binlog_gtid_simple_recovery';
Variable_name	Value
binlog_gtid_simple_recovery	OFF
SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='binlog_gtid_simple_recovery';
VARIABLE_NAME	VARIABLE_VALUE
BINLOG_GTID_SIMPLE_RECOVERY	OFF
SELECT * FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='binlog_gtid_simple_recovery';
VARIABLE_NAME	VARIABLE_VALUE
BINLOG_GTID_SIMPLE_RECOVERY	OFF
SET GLOBAL binlog_gtid_simple_recovery=1;
ERROR HY000: Variable 'binlog_gtid_simple_recovery' is a read only variable
SET SESSION binlog_gtid_simple_recovery=1;
ERROR HY000: Variable 'binlog_gtid_simple_recovery' is a read only variable
