From 4629194a7f8906efb1f411c4c4cc1616d1efb58c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 22 Dec 2011 02:58:58 +0100 Subject: Make MySQL slave configuration more robust against hostname changes --- fripost-docs.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3