MySQL STRICT Mode

Enable MySQL STRICT Mode:

set global sql_mode = 'STRICT_TRANS_TABLES';

Disable MySQL STRICT Mode:

set global sql_mode = '';