Created
August 13, 2021 18:29
-
-
Save mgussekloo/db2f40b76bdd70c46e6382c36703fb9a to your computer and use it in GitHub Desktop.
Remove binlogs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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