From e3b7804462b29331403bf1c69347c73ad9ccec73 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Mon, 30 Sep 2019 14:29:00 +0300 Subject: [PATCH 1/2] Fix URL to Avro package download page --- BUILD/install_build_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index 851004c94..d1e6184ec 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -203,7 +203,7 @@ sudo make install cd ../../ # Avro C API -wget -q -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories http://mirror.netinch.com/pub/apache/avro/stable/c +wget -q -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories https://www-eu.apache.org/dist/avro/stable/c if [ $? != 0 ] then echo "Error getting avro-c" From fffbb9f79176b7ea449b1f8b00562eee41559065 Mon Sep 17 00:00:00 2001 From: Esa Korhonen Date: Mon, 30 Sep 2019 11:15:06 +0300 Subject: [PATCH 2/2] MXS-2600 Update MariaDB-Monitor documentation Clarified info on privileges. --- Documentation/Monitors/MariaDB-Monitor.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Documentation/Monitors/MariaDB-Monitor.md b/Documentation/Monitors/MariaDB-Monitor.md index c46ae7821..9736f873e 100644 --- a/Documentation/Monitors/MariaDB-Monitor.md +++ b/Documentation/Monitors/MariaDB-Monitor.md @@ -120,12 +120,14 @@ password=mypwd From MaxScale 2.2.1 onwards, the module name is `mariadbmon` instead of `mysqlmon`. The old name can still be used. -The `user` requires the REPLICATION CLIENT privilege to successfully monitor the -state of the servers. SUPER privilege is required for cluster manipulation -features such as failover. +The `user` requires privileges depending on which monitor features are used. +REPLICATION CLIENT allows the monitor to list slave (replication) connections, +and is always required. See +[Cluster manipulation operations](#cluster-manipulation-operations) for more +information on required privileges. ``` -MariaDB [(none)]> grant replication client on *.* to 'maxscale'@'maxscalehost'; +MariaDB [(none)]> grant replication client on *.* to 'myuser'@'maxscalehost'; Query OK, 0 rows affected (0.00 sec) ``` @@ -309,7 +311,13 @@ privileges: - REPLICATION CLIENT, to list slave connections - RELOAD, to flush binary logs - PROCESS, to check if the *event\_scheduler* process is running -- SHOW DATABASES and EVENTS, to list and modify server events +- SHOW DATABASES and EVENT, to list and modify server events + +``` +MariaDB [(none)]> grant super, replication client, reload, process, show databases, +event on *.* to 'myuser'@'maxscalehost'; +Query OK, 0 rows affected (0.00 sec) +``` In addition, the monitor needs to know which username and password a slave should use when starting replication. These are given in