]> arthur.barton.de Git - netdata.git/blobdiff - python.d/mysql.chart.py
fix mysql query
[netdata.git] / python.d / mysql.chart.py
index aaeba7fc30b0111383f77a04455cd778bbdbbc6e..d51aa2c0e06e76b06ddb7ba1fe95440b01bb5658 100644 (file)
@@ -39,7 +39,7 @@ retries = 60
 #}
 
 # query executed on MySQL server
-QUERY = "SHOW GLOBAL STATUS"
+QUERY = "SHOW GLOBAL STATUS;"
 
 ORDER = ['net',
          'queries',
@@ -375,8 +375,6 @@ class Service(SimpleService):
             cursor = self.connection.cursor()
             cursor.execute(QUERY)
             raw_data = cursor.fetchall()
-
-
         except Exception as e:
             self.error("cannot execute query.", e)
             self.connection.close()