@cryptotaxi247 / netdata-1 / commits / 4f6dc2221

fix incorrect "password" argument

add info about MySQLdb to README

paulfantom committed Jun 15, 2016 at 11:38 UTC 4f6dc22218a2f1fd1b7399348c8c336cbe8ebc41
2 files changed +2 -2
python.d/README.md
+1 -1
@@ -9,7 +9,7 @@ The following python.d plugins are supported:
9 # mysql
10
11 The plugin will monitor one or more mysql servers
12 -Plugins needs installed pymysql in `python_modules` directory or system-wide.
12 +Plugins needs installed MySQLdb or pymysql in `python_modules` directory or system-wide.
13
14 It will produce the following charts (if data is available):
15
python.d/mysql.chart.py
+1 -1
@@ -372,7 +372,7 @@ def check():
372 for srv in config:
373 try:
374 cnx = MySQLdb.connect(user=srv['user'],
375 - password=srv['password'],
375 + passwd=srv['password'],
376 read_default_file=srv['my.cnf'],
377 unix_socket=srv['socket'],
378 host=srv['host'],