Skip to content

DB: Set SQL_MODE to required state on each connect.

sql_mode is by default strict mode (STRICT_TRANS_TABLE) that is unfriendly to some db operations.

Set to preferable mode in the code.