]> arthur.barton.de Git - netdata.git/commitdiff
added mysql configuration information
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 23 Nov 2016 23:03:18 +0000 (01:03 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 23 Nov 2016 23:03:18 +0000 (01:03 +0200)
conf.d/python.d/mysql.conf

index 8fbbe6513ef3870a27fc6ee5a644d27787c5a43f..d7e760f9bfaccac54fad8ed5cdf6326a09bcd0d0 100644 (file)
 #     pass: 'password'       # the mysql password to use
 #
 
+# ----------------------------------------------------------------------
+# mySQL CONFIGURATION
+#
+# netdata does not need any privilege - only the ability to connect
+# to the mysql server (netdata will not be able to see any data).
+#
+# Execute these commands to give the local user 'netdata' the ability
+# to connect to the mysql server on localhost, without a password:
+#
+# > create user 'netdata'@'localhost';
+# > grant usage on *.* to 'netdata'@'localhost' with grant option;
+# > flush privileges;
+#
+# with the above statements, netdata will be able to gather mysql
+# statistics, without the ability to see or alter any data or affect
+# mysql operation in any way. No change is required below.
+
 # ----------------------------------------------------------------------
 # AUTO-DETECTION JOBS
 # only one of them will run (they have the same name)
@@ -80,6 +97,10 @@ mycnf2:
   name     : 'local'
   'my.cnf' : '/etc/mysql/my.cnf'
 
+debiancnf:
+  name     : 'local'
+  'my.cnf' : '/etc/mysql/debian.cnf'
+
 socket1:
   name     : 'local'
   # user     : ''