How to enable MySQL STRICT mode:

set global sql_mode = 'STRICT_TRANS_TABLES';

How to disable MySQL STRICT mode:

set global sql_mode = '';

Leave a Reply

Your email address will not be published. Required fields are marked *