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