@cryptotaxi247 / netdata-1 / commits / 028e66688

fix mysql query

paulfantom committed Aug 7, 2016 at 15:59 UTC 028e666883feac0160e5bff5fa03484dcbbed75c
1 file changed +1 -3
python.d/mysql.chart.py
+1 -3
@@ -39,7 +39,7 @@ retries = 60
39 #}
40
41 # query executed on MySQL server
42 -QUERY = "SHOW GLOBAL STATUS"
42 +QUERY = "SHOW GLOBAL STATUS;"
43
44 ORDER = ['net',
45 'queries',
@@ -375,8 +375,6 @@ class Service(SimpleService):
375 cursor = self.connection.cursor()
376 cursor.execute(QUERY)
377 raw_data = cursor.fetchall()
378 -
379 -
378 except Exception as e:
379 self.error("cannot execute query.", e)
380 self.connection.close()