diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-12-22 02:58:58 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-12-22 02:58:58 +0100 |
commit | 4629194a7f8906efb1f411c4c4cc1616d1efb58c (patch) | |
tree | dadcc914d4763ee5a2ef16ec36b58a34da72626d | |
parent | 9c1c9ceac485bd0a71a9adf57b3e34d95cf5aa8c (diff) |
Make MySQL slave configuration more robust against hostname changes
-rw-r--r-- | fripost-docs.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fripost-docs.org b/fripost-docs.org index fac4390..ea9e1de 100644 --- a/fripost-docs.org +++ b/fripost-docs.org @@ -518,7 +518,6 @@ These instructions are mainly adapted from the MySQL manual. expire_logs_days = 10 max_binlog_size = 100M binlog_do_db = mail - /etc/init.d/mysql restart @@ -567,6 +566,7 @@ sudo chmod 0750 $TMP_DIR tmpdir = /var/lib/mysql/tmp # Note that the server-id must be different on all hosts server-id = 2 + relay-log = mysqld-relay-bin /etc/init.d/mysql restart |