@cryptotaxi247 / netdata-1 / commits / 9aa7fe5a2

added comments to config about mysql, port and localhost

Costa Tsaousis (ktsaou) committed Sep 3, 2016 at 19:43 UTC 9aa7fe5a2dfed26ee51247e8e004bc908ba0c045
1 file changed +4
conf.d/python.d/mysql.conf
+4
@@ -104,6 +104,8 @@ tcp:
104 # pass : ''
105 host : 'localhost'
106 port : '3306'
107 + # keep in mind port might be ignored by mysql, if host = 'localhost'
108 + # http://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket/337844#337844
109
110 tcpipv4:
111 name : 'local'
@@ -158,6 +160,8 @@ tcp_root:
160 # pass : ''
161 host : 'localhost'
162 port : '3306'
163 + # keep in mind port might be ignored by mysql, if host = 'localhost'
164 + # http://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket/337844#337844
165
166 tcpipv4_root:
167 name : 'local'