Skip to content

Instantly share code, notes, and snippets.

@LeandroLS
Created June 27, 2017 15:40
Show Gist options
  • Save LeandroLS/52326c05d7b021df451f1524c50dd02d to your computer and use it in GitHub Desktop.
Save LeandroLS/52326c05d7b021df451f1524c50dd02d to your computer and use it in GitHub Desktop.
Post Alterando sql mode
set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment