Skip to content

Commit

Permalink
More stern warning about mysql_disable_log_bin.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jan 9, 2025
1 parent 174e964 commit 5344d02
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,16 @@ mysql_table_open_cache: "256"

The rest of the settings in `defaults/main.yml` control MySQL's memory usage and some other common settings. The default values are tuned for a server where MySQL can consume 512 MB RAM, so you should consider adjusting them to suit your particular server better.

```yaml
mysql_disable_log_bin: false
```

This variable should be set to `true` if you don't need replication, or otherwise don't need a log of all MySQL's activity. If you leave it at the default value, disk space may be consumed at an alarming rate on highly-utlilized database servers!

```yaml
mysql_server_id: "1"
mysql_max_binlog_size: "100M"
mysql_binlog_format: "ROW"
mysql_disable_log_bin: false
mysql_expire_logs_days: "10"
mysql_replication_role: ''
mysql_replication_master: ''
Expand Down

0 comments on commit 5344d02

Please sign in to comment.