Skip to content

Instantly share code, notes, and snippets.

@ninadingole
Created May 25, 2018 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninadingole/07a5d71840fabead3a1b6f9d83b9f4e9 to your computer and use it in GitHub Desktop.
Save ninadingole/07a5d71840fabead3a1b6f9d83b9f4e9 to your computer and use it in GitHub Desktop.
[mysqld]
server-id = 223344 # any random number
log_bin = mysql-bin
binlog_format = row # use row or ROW
binlog_row_image = full # use full or FULL
expire_logs_days = 10
gtid_mode = on # (optional)
enforce_gtid_consistency = on # (optional)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment