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 ('76e28b83ecf4c03cc07a29d5bf82797b', 0, '1547604898')' at line 2 SQL=INSERT INTO (, , ) VALUES ('76e28b83ecf4c03cc07a29d5bf82797b', 0, '1547604898')