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