- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.3k
strict mode
        Julien Schmidt edited this page Sep 29, 2017 
        ·
        2 revisions
      
    Before v1.4, this driver used to support a driver-side "strict" mode where all MySQL warnings a treated as errors. This mode could lead to data-corruption and broken connections (see e.g. issues #556, #602, #635). As of v1.4, this mode has therefore been removed.
A server-side strict mode, which is safe for production use, can be set via the sql_mode system variable.
By default MySQL also treats notes as warnings. Use sql_notes=false to ignore notes.