added mysql configuration information
Costa Tsaousis (ktsaou) committed
Nov 24, 2016 at 01:03 UTC
69281db922df6db7646495cf0d5f7b507a9ab4fc
1 file changed
+21
conf.d/python.d/mysql.conf
+21
@@ -68,6 +68,23 @@
68
# pass: 'password' # the mysql password to use
69
#
70
71
+# ----------------------------------------------------------------------
72
+# mySQL CONFIGURATION
73
+#
74
+# netdata does not need any privilege - only the ability to connect
75
+# to the mysql server (netdata will not be able to see any data).
76
+#
77
+# Execute these commands to give the local user 'netdata' the ability
78
+# to connect to the mysql server on localhost, without a password:
79
+#
80
+# > create user 'netdata'@'localhost';
81
+# > grant usage on *.* to 'netdata'@'localhost' with grant option;
82
+# > flush privileges;
83
+#
84
+# with the above statements, netdata will be able to gather mysql
85
+# statistics, without the ability to see or alter any data or affect
86
+# mysql operation in any way. No change is required below.
87
+
88
# ----------------------------------------------------------------------
89
# AUTO-DETECTION JOBS
90
# only one of them will run (they have the same name)
@@ -80,6 +97,10 @@ mycnf2:
97
name : 'local'
98
'my.cnf' : '/etc/mysql/my.cnf'
99
100
+debiancnf:
101
+ name : 'local'
102
+ 'my.cnf' : '/etc/mysql/debian.cnf'
103
+
104
socket1:
105
name : 'local'
106
# user : ''