Skip to content

Instantly share code, notes, and snippets.

@6ui11em
Created December 30, 2020 17:43
Show Gist options
  • Save 6ui11em/1bc95d22dd329e075561076084dab8cc to your computer and use it in GitHub Desktop.
Save 6ui11em/1bc95d22dd329e075561076084dab8cc to your computer and use it in GitHub Desktop.
Mysql: Allow 0 for autoincrement when import #mysql #autoincrement #import
SET [GLOBAL|SESSION] sql_mode='NO_AUTO_VALUE_ON_ZERO'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment