]> arthur.barton.de Git - netdata.git/blobdiff - python.d/mysql.chart.py
fix incorrect "password" argument
[netdata.git] / python.d / mysql.chart.py
index 4c9c5675e33aafd79a0b16b84dfd384c0174e2a7..166001347665a85fc7b9eede7e65175278c2e010 100644 (file)
@@ -372,7 +372,7 @@ def check():
     for srv in config:
         try:
             cnx = MySQLdb.connect(user=srv['user'],
-                                  password=srv['password'],
+                                  passwd=srv['password'],
                                   read_default_file=srv['my.cnf'],
                                   unix_socket=srv['socket'],
                                   host=srv['host'],