code: def _send(self, data):
          
          data = data.strip().split(' ')
          try:
              cursor = self.conn.cursor()
              cursor.execute("INSERT INTO %s (%s, %s, %s) VALUES(%%s, %%s, %%s)"
                             % (self.table, self.col_metric,
                                self.col_time, self.col_value),
                             (data[0], data[2], data[1]))
              cursor.close()
              self.conn.commit()
          except BaseException as e:
              # Log Error
              self.log.error("MySQLHandler: Failed sending data. %s.", e)
              # Attempt to restablish connection
              self._connect()
docs: Insert the data