You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(, , ) VALUES ('b85dfce832ca7ddaa7602d6dce360f1f', 0, '1547604355')' at line 2 SQL=INSERT INTO (, , ) VALUES ('b85dfce832ca7ddaa7602d6dce360f1f', 0, '1547604355')