|
|
937446 |
From 98e235caa31c7cc73a834d8046e6f2ec2d04b832 Mon Sep 17 00:00:00 2001
|
|
|
937446 |
From: Marian Marinov <mm@yuhu.biz>
|
|
|
937446 |
Date: Sun, 10 Apr 2016 22:44:16 +0300
|
|
|
937446 |
Subject: [PATCH] heartbeat/mysql: Handle non-standard mysql server port
|
|
|
937446 |
|
|
|
937446 |
Signed-off-by: Marian Marinov <mm@yuhu.biz>
|
|
|
937446 |
---
|
|
|
937446 |
heartbeat/mysql | 1 +
|
|
|
937446 |
1 file changed, 1 insertion(+)
|
|
|
937446 |
|
|
|
937446 |
diff --git a/heartbeat/mysql b/heartbeat/mysql
|
|
|
937446 |
index e2d54dd..be914d3 100755
|
|
|
937446 |
--- a/heartbeat/mysql
|
|
|
937446 |
+++ b/heartbeat/mysql
|
|
|
937446 |
@@ -549,6 +549,7 @@ set_master() {
|
|
|
937446 |
|
|
|
937446 |
ocf_run $MYSQL $MYSQL_OPTIONS_REPL \
|
|
|
937446 |
-e "CHANGE MASTER TO MASTER_HOST='$new_master', \
|
|
|
937446 |
+ MASTER_PORT=$OCF_RESKEY_replication_port, \
|
|
|
937446 |
MASTER_USER='$OCF_RESKEY_replication_user', \
|
|
|
937446 |
MASTER_PASSWORD='$OCF_RESKEY_replication_passwd' $master_params"
|
|
|
937446 |
rm -f $tmpfile
|
|
|
937446 |
--
|
|
|
937446 |
2.5.5
|
|
|
937446 |
|
|
|
937446 |
From e78f106cc5edabc50eb3622ce384ed2493250ec5 Mon Sep 17 00:00:00 2001
|
|
|
937446 |
From: Mathieu Peltier <mathieu.peltier@gmail.com>
|
|
|
937446 |
Date: Thu, 6 Nov 2014 17:16:38 +0100
|
|
|
937446 |
Subject: [PATCH] Modified replication_user description: RELOAD privilege is
|
|
|
937446 |
required for RESET SLAVE or RESET SLAVE ALL command.
|
|
|
937446 |
|
|
|
937446 |
---
|
|
|
937446 |
heartbeat/mysql | 6 +++---
|
|
|
937446 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
937446 |
|
|
|
937446 |
diff --git a/heartbeat/mysql b/heartbeat/mysql
|
|
|
937446 |
index d895369..df65502 100755
|
|
|
937446 |
--- a/heartbeat/mysql
|
|
|
937446 |
+++ b/heartbeat/mysql
|
|
|
937446 |
@@ -211,9 +211,9 @@ Additional parameters which are passed to the mysqld on startup.
|
|
|
937446 |
MySQL replication user. This user is used for starting and stopping
|
|
|
937446 |
MySQL replication, for setting and resetting the master host, and for
|
|
|
937446 |
setting and unsetting read-only mode. Because of that, this user must
|
|
|
937446 |
-have SUPER, REPLICATION SLAVE, REPLICATION CLIENT, and PROCESS
|
|
|
937446 |
-privileges on all nodes within the cluster. Mandatory if you define
|
|
|
937446 |
-a master-slave resource.
|
|
|
937446 |
+have SUPER, REPLICATION SLAVE, REPLICATION CLIENT, PROCESS and RELOAD
|
|
|
937446 |
+privileges on all nodes within the cluster. Mandatory if you define a
|
|
|
937446 |
+master-slave resource.
|
|
|
937446 |
</longdesc>
|
|
|
937446 |
<shortdesc lang="en">MySQL replication user</shortdesc>
|
|
|
937446 |
<content type="string" default="${OCF_RESKEY_replication_user_default}" />
|
|
|
937446 |
--
|
|
|
937446 |
2.5.5
|
|
|
937446 |
|