]> arthur.barton.de Git - netdata.git/commitdiff
fix mysql query
authorpaulfantom <paulfantom@gmail.com>
Sun, 7 Aug 2016 13:59:31 +0000 (15:59 +0200)
committerpaulfantom <paulfantom@gmail.com>
Sun, 7 Aug 2016 13:59:31 +0000 (15:59 +0200)
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()