Manual:$wgSQLMode

Details
SQL Mode - default is turning off all modes, including strict, if set.


 *   can be used to skip the setting for performance reasons and assume the database admin (DBA) has done his best job.


 * String override can be used to set any mode, e.g.  