1. show global variables like '%general%'; set global general_log = 'ON' set global general_log = 'OFF'