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