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