diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-03 19:43:13 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-09-03 19:43:13 +0300 |
commit | 9aa7fe5a2dfed26ee51247e8e004bc908ba0c045 (patch) | |
tree | 313bc3ff87fd9a580c683e55efa2876d5eb0ae0c /conf.d | |
parent | 8ad809198dc42614b3e1572501d9af2e0e6e9b9d (diff) |
added comments to config about mysql, port and localhost
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/python.d/mysql.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/python.d/mysql.conf b/conf.d/python.d/mysql.conf index d247b89a03..8fbbe6513e 100644 --- a/conf.d/python.d/mysql.conf +++ b/conf.d/python.d/mysql.conf @@ -104,6 +104,8 @@ tcp: # pass : '' host : 'localhost' port : '3306' + # keep in mind port might be ignored by mysql, if host = 'localhost' + # http://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket/337844#337844 tcpipv4: name : 'local' @@ -158,6 +160,8 @@ tcp_root: # pass : '' host : 'localhost' port : '3306' + # keep in mind port might be ignored by mysql, if host = 'localhost' + # http://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket/337844#337844 tcpipv4_root: name : 'local' |