From 974bf3c1153c735d43176ef32713539fb466fa92 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Tue, 7 Aug 2018 12:51:09 +0300 Subject: [PATCH] MXS-1736 Clarify MaxInfo tutorial --- Documentation/Tutorials/MaxScale-Information-Schema.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/Tutorials/MaxScale-Information-Schema.md b/Documentation/Tutorials/MaxScale-Information-Schema.md index 59f56d16c..8a5e686f4 100644 --- a/Documentation/Tutorials/MaxScale-Information-Schema.md +++ b/Documentation/Tutorials/MaxScale-Information-Schema.md @@ -31,7 +31,7 @@ to localhost as well. type=service router=maxinfo user=monitor -passwd=EBD2F49C3B375812A8CDEBA632ED8BBC +passwd=my_secret ``` The listener section defines the protocol, port and other information needed @@ -39,6 +39,10 @@ to create a listener for the service. To listen on a port using the MySQL protocol a section as shown below should be added to the configuration file. +In this example we use a cleartext password `my_secret`. For increased +security the password can be encrypted as explained +[here](../Getting-Started/Configuration-Guide.md#encrypting-passwords). + ``` [MaxInfo Listener] type=listener @@ -83,9 +87,9 @@ MySQL status and ping requests. These may be used for simple monitoring of MariaDB MaxScale. ``` -% mysqladmin -hmaxscale.mariadb.com -P9003 -umonitor -pxyz ping +% mysqladmin -hmaxscale.mariadb.com -P9003 -umonitor -pmy_secret ping mysqld is alive -% mysqladmin -hmaxscale.mariadb.com -P9003 -umonitor -pxyz status +% mysqladmin -hmaxscale.mariadb.com -P9003 -umonitor -pmy_secret status Uptime: 72 Threads: 1 Sessions: 11 % ```