aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-12-22 02:58:58 +0100
committerStefan Kangas <skangas@skangas.se>2011-12-22 02:58:58 +0100
commit4629194a7f8906efb1f411c4c4cc1616d1efb58c (patch)
treedadcc914d4763ee5a2ef16ec36b58a34da72626d
parent9c1c9ceac485bd0a71a9adf57b3e34d95cf5aa8c (diff)
Make MySQL slave configuration more robust against hostname changes
-rw-r--r--fripost-docs.org2
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