\!h Setting
-- To set it at run time for the current session:
SET sql_mode = 'TRADITIONAL';
-- To set the SQL mode globally:
SET GLOBAL sql_mode = 'TRADITIONAL';
-- The value becomes the default SQL mode for all clients that connect afterward.
\!h Checking mode
-- Check current session mode:
SELECT @@SESSION.sql_mode;
-- Check the global mode:
SELECT @@GLOBAL.sql_mode;