Skip to content

Instantly share code, notes, and snippets.

@mgussekloo
Created August 13, 2021 18:29
Show Gist options
  • Save mgussekloo/db2f40b76bdd70c46e6382c36703fb9a to your computer and use it in GitHub Desktop.
Save mgussekloo/db2f40b76bdd70c46e6382c36703fb9a to your computer and use it in GitHub Desktop.
Remove binlogs
Step 1 - remove current binlogs
mysql -u forge -p -e "RESET MASTER"
Step 2 - create setting to skip binlogs in the future
vi /etc/mysql/conf.d/disable_binlogs.cnf
[mysqld]
skip-log-bin
Step 3 - restart mysql
service mysql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment