mysql access granting info; fixes #3158
Costa Tsaousis (ktsaou) committed
Jan 3, 2018 at 19:41 UTC
aa13d6d632782a8c031c4accbe7038a2bf1cb4e3
1 file changed
+8
-1
conf.d/python.d/mysql.conf
+8
-1
@@ -85,12 +85,19 @@
85
# to connect to the mysql server on localhost, without a password:
86
#
87
# > create user 'netdata'@'localhost';
88
-# > grant usage on *.* to 'netdata'@'localhost' with grant option;
88
+# > grant usage on *.* to 'netdata'@'localhost';
89
# > flush privileges;
90
#
91
# with the above statements, netdata will be able to gather mysql
92
# statistics, without the ability to see or alter any data or affect
93
# mysql operation in any way. No change is required below.
94
+#
95
+# If you need to monitor mysql replication too, use this instead:
96
+#
97
+# > create user 'netdata'@'localhost';
98
+# > grant replication client on *.* to 'netdata'@'localhost';
99
+# > flush privileges;
100
+#
101
102
# ----------------------------------------------------------------------
103
# AUTO-DETECTION JOBS